WordPress.org

Support

Support » Plugins and Hacks » Role Scoper » [Plugin: Role Scoper] Conflict with post_is_in_descendant_category Code

[Plugin: Role Scoper] Conflict with post_is_in_descendant_category Code

  • When I turn on Role Scoper (which is a mighty fine plugin) the custom “post_is_in_descendant_category” code stops functioning. For the life of me I can’t figure out why.

    We use descendant category in our theme so it’s quite important for that code (from the WP Codex) to work properly.

    Any ideas?

    Thanks!
    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kevin Behrens

    @kevinb

    Can you show me your calling code and input values?

    I’m not seeing any problem when I call it this way:

    global $post;
    $terms = get_terms( 'category', array( 'fields' => 'ids' ) );
    $test = post_is_in_descendant_category( $terms, $post );

    Hi- sorry for delay. I think I found issue. For some reason when we have the Role Scoper plugin activated it hides WP sub-categories (i.e. only lists parents) in admin screens. And that also seems to impact the site behavior.

    I’ve tried endlessly to turn different RS options on/off with no luck. No matter what we do RS seems to hide categories!

    As soon as I deactivate the plugin all is well again. Version 1.3.34.

    Great plugin, but this is driving me nuts 🙂

    Plugin Author Kevin Behrens

    @kevinb

    For some reason when we have the Role Scoper plugin activated it hides WP sub-categories (i.e. only lists parents) in admin screens.

    I’ll need more info on your configuration, since I’m not seeing that error. If you drop me a contact I can log in and take a quick look.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Role Scoper] Conflict with post_is_in_descendant_category Code’ is closed to new replies.
Skip to toolbar