Seriously Simple Podcasting
[resolved] Bug with WP 3.6 version check (6 posts)

  1. I've just found a bug when using the plugin with WP 3.6.1 and greater. In the audio_player() member function, the check for WP 3.6 and greater is currently:

    if( $wp_version && $wp_version == '3.6' ) {

    This is so that the wp_audio_shortcode() can be used instead of building the output manually. The problem, however, is that this only works if on WP 3.6, since it is using ==.

    The check should be updated to:

    if( $wp_version && $wp_version >= '3.6' ) {


  2. Brad Touesnard
    Posted 2 years ago #

    Or better yet, use PHP's version_compare().

  3. Either would be fine.

  4. Hugh Lashbrooke
    Plugin Author

    Posted 2 years ago #

    Thanks for that - someone actually pointed that out in a different thread here and I've made the fix already using version_compare() (it was a stupid mistake on my part to leave that out). I'm just working on one other fix before I release the next version.

    I should have this out in the next day or two - in the mean time I suggest you do the fix manually in the plugin. I'll update here once it has been released.

  5. Hugh Lashbrooke
    Plugin Author

    Posted 2 years ago #

    Looks like I found a quick way to fix the other bug I mentioned and I've just published this release sooner than I thought I would. v1.7.3 should be available now with a proper version comparison: http://wordpress.org/plugins/seriously-simple-podcasting/changelog/.

    Thanks for pointing this out!

  6. Great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Seriously Simple Podcasting
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.