[wp-trac] [WordPress Trac] #20745: Hard-code less capability types

WordPress Trac wp-trac at lists.automattic.com
Fri May 25 10:52:16 UTC 2012


#20745: Hard-code less capability types
-----------------------------+------------------------------
 Reporter:  Viper007Bond     |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by scribu):

 'edit_post' is a meta capability. In other words, the conversion you made
 in your patch are already done in map_meta_cap(). Same for 'delete_post'
 etc.

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


More information about the wp-trac mailing list