Viewing 4 replies - 1 through 4 (of 4 total)
  • Same here! Tried the shortcode and that didn’t work either. Thank you, chrisarm, for posting. Hopefully we get a speedy solution.

    Plugin Author vicchi

    (@vicchi)

    Just updated my local test install to WP 3.7 and WP Biographia’s biography box has vanished. Yikes.

    I’m running with WP_DEBUG enabled and I’m not seeing anything in the PHP error log at all … the plugin is just not working and not working silently into the bargain.

    I’m looking into this today and will report back once I’ve worked out what’s going on here.

    -Gary

    Plugin Author vicchi

    (@vicchi)

    Update … Got it and fixed it. It looks like there was a change in category behaviour in WP 3.7 (via this change set http://core.trac.wordpress.org/changeset/25662/) that, coupled with the plugin not detecting an empty set of category exclusions, meant that post WP 3.7 upgrade, all posts were considered to be excluded by category.

    If you’re not interested in the guts of this, I’ve fixed the bug and/or coded around the 3.7 change in category handling and pushed v3.3.2 of the plugin to the plugin repository.

    If you are interested in the details, this is the comment I added to the plugin’s source as a result of detecting an empty set of category exclusions …

    It looks like the behaviour of in_category() has changed in WP 3.7. Prior to this release a call to in_category() with an empty $category argument returned false (due to PHP’s explode returning an array with a single empty element if wp_biographia_category_exclusions was set to ”), but after upgrading to WP 3.7, in_category() now returns true in this case, which effectively means every single post is excluded from displaying the Biography Box. Not good. So now, check whether this option is empty and then only check for category exclusions if there’s at least one category configured for exclusion.

    You could argue that this was a bug waiting to happen if you’re being uncharitable. I’d tend to agree with you.

    -Gary

    Thanks, Gary! Appreciate the rapid response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress 3.7’ is closed to new replies.