WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33975


Ignore:
Timestamp:
09/23/2015 12:08:39 PM (5 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33975

    • Property Keywords needs-patch needs-unit-tests added
  • Ticket #33975 – Description

    initial v1  
    11Currently we have such caps when using `register_taxonomy()` [https://codex.wordpress.org/Function_Reference/register_taxonomy#Arguments codex]:
    2     'manage_terms' - 'manage_categories'
    3     'edit_terms' - 'manage_categories'
    4     'delete_terms' - 'manage_categories'
    5     'assign_terms' - 'edit_posts'
     2
     3{{{
     4'manage_terms' - 'manage_categories'
     5'edit_terms' - 'manage_categories'
     6'delete_terms' - 'manage_categories'
     7'assign_terms' - 'edit_posts'
     8}}}
    69
    710IMO, setting `manage_terms` to false block access to page (cheating message),