[wp-trac] [WordPress Trac] #19150: Redundant caps checks in wp_admin_bar_appearance_menu()

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 4 14:22:50 UTC 2011


#19150: Redundant caps checks in wp_admin_bar_appearance_menu()
--------------------------+------------------
 Reporter:  duck_         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  General       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.3


Comment:

 As wp_admin_bar_appearance_menu() had the parent removed, the cap checks
 can be simplified quite a bit.

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


More information about the wp-trac mailing list