admin管理员组文章数量:1122846
Using plugins like "Members" or "Capability Manager", I don't see any such manage_tags
capability. Shouldn't there be one like there is manage_categories
?
EDIT: I think I figured it out. manage_terms is for all taxonomies. There isn't one specifically for tags, but I could create one if I so desire. This could allow me to set up a role that can edit only categories, but not tags, and vice versa.
NOTE: I got rated down. If you rate me down, please state why. Thanks.
Using plugins like "Members" or "Capability Manager", I don't see any such manage_tags
capability. Shouldn't there be one like there is manage_categories
?
EDIT: I think I figured it out. manage_terms is for all taxonomies. There isn't one specifically for tags, but I could create one if I so desire. This could allow me to set up a role that can edit only categories, but not tags, and vice versa.
NOTE: I got rated down. If you rate me down, please state why. Thanks.
Share Improve this question edited Jun 29, 2011 at 7:41 trusktr asked Jun 29, 2011 at 2:49 trusktrtrusktr 7813 gold badges10 silver badges18 bronze badges 4 |2 Answers
Reset to default 1You need to check out codex page regarding roles and caps to see the list of default capabilites that exist, you can always create your own custom capabilites
If you reference the create_initial_taxonomies()
function in wp-includes/taxonomy.php
in the Wordpress core, the post tag taxonomy is registered with the following capabilities:
- manage_post_tags
- edit_post_tags
- delete_post_tags
- assign_post_tags
版权声明:本文标题:capabilities - How come I see a manage_categories capability but not a manage_tags capability for any users? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736285876a1927551.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
manage_categories
will also give you the capability to manage tags? – 5ervant - techintel.github.io Commented May 17, 2018 at 19:18