[wp-trac] [WordPress Trac] #21463: add create_posts capability

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 6 22:05:31 UTC 2012


#21463: add create_posts capability
--------------------------+------------------------------
 Reporter:  eternalsword  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by eternalsword):

 I replaced the initial patch since it had errors and wasn't the correct
 approach.  The current patch adds the create_posts capability and checks
 for that instead of edit_posts in post-new.php. It additionally checks for
 that capability prior to putting in the Add New links.

 get_admin_page_parent was also modified for the case where there is no
 $submenu.

 This patch was also created against trunk instead of 3.4.1.

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


More information about the wp-trac mailing list