WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Non-administrators must have the manage_categories capability

[Resolved] Non-administrators must have the manage_categories capability

  • Hi,

    I like this plugin, but non-administrators can publish a post to a selected category only if they have the manage_categories capability, otherwise automatically is selected the first category in the list, regardless of their choice, and this is not what I want. How to solve this?

    Edit:
    My installation is a multisite network one, WP 3.5, but at the moment I have only one blog (the main).

    http://wordpress.org/extend/plugins/radio-buttons-for-taxonomies/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author helgatheviking
    Participant

    @helgatheviking

    Lurie, thanks for your email. I should be subscribed to this forum now (I definitely thought that I already was).

    Can you describe the problem again? I am not clear on what is happening.
    Can you achieve what you are looking for with the default WP categories box? My plugin should only be mimicking the default WP behavior, that said I probably need to check the WP3.5 metabox and category Walker.

    Hi,

    I want to limit the author users to select only one category for their posts and your plugin can help me with this. But, after activating your plugin, WordPress do not retain the category selected by users that do not have a ‘manage_categories’ capability, and publish their posts under the default category (incidentally, this one is the first in my category list, so I thought first that WordPress retain automatically the first category from de category list, regardless of what user select).

    Plugin Author helgatheviking
    Participant

    @helgatheviking

    Well I have tracked down the issue to some wacky nonce checking. I’ll see what I can do to get it cleared up.

    Plugin Author helgatheviking
    Participant

    @helgatheviking

    Do me a favor and download the latest version from github?
    https://github.com/helgatheviking/Radio-Buttons-for-Taxonomies

    It is working for me now, but I’d appreciate a double-check. Then I will update it in the WordPress repo.

    Thanks for the good catch.

    Kathy, everything is fine now! Good work! Thank you!

    Plugin Author helgatheviking
    Participant

    @helgatheviking

    Ok, I will mark this as resolved and push the new version to the WP repo.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Non-administrators must have the manage_categories capability’ is closed to new replies.