[wp-trac] [WordPress Trac] #16714: Introduce capabilities for adding new posts

WordPress Trac noreply at wordpress.org
Wed Nov 28 17:30:08 UTC 2012


#16714: Introduce capabilities for adding new posts
----------------------------------+-----------------------
 Reporter:  nacin                 |       Owner:  casben79
     Type:  task (blessed)        |      Status:  reopened
 Priority:  normal                |   Milestone:  3.5
Component:  Role/Capability       |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  needs-docs has-patch  |
----------------------------------+-----------------------
Changes (by johnbillion):

 * keywords:  needs-docs needs-patch => needs-docs has-patch


Comment:

 [attachment:16714.7.diff] fixes two issues:

  * Users who have the 'edit_posts' capability but not the 'create_posts'
 capability still see the 'Add New Post' menu in the admin toolbar. This
 applies to the 'create_posts' meta capability for all post types.
  * Users who have the 'create_posts' meta capability but not the
 'edit_posts' meta capability for a custom post type still see the 'Add
 New' submenu for the post type in the main menu.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16714#comment:39>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list