WordPress.org

Forums

Radio Buttons for Taxonomies
[resolved] Non-administrators must have the manage_categories capability (7 posts)

  1. Iurie Malai
    Member
    Posted 2 years ago #

    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/

  2. helgatheviking
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. Iurie Malai
    Member
    Posted 2 years ago #

    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).

  4. helgatheviking
    Member
    Plugin Author

    Posted 2 years ago #

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

  5. helgatheviking
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  6. Iurie Malai
    Member
    Posted 2 years ago #

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

  7. helgatheviking
    Member
    Plugin Author

    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Radio Buttons for Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic