[wp-trac] [WordPress Trac] #15404: Allow to target the different list items via CSS in the Admin Bar

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 12 12:42:11 UTC 2010


#15404: Allow to target the different list items via CSS in the Admin Bar
----------------------------+-----------------------------------------------
 Reporter:  defries         |       Owner:             
     Type:  defect (bug)    |      Status:  new        
 Priority:  normal          |   Milestone:  3.1        
Component:  Administration  |     Version:  3.1        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------
Changes (by nacin):

  * keywords:  admin bar => needs-patch


Comment:

 Looking at the code some more, the add_menu() method wants an 'id' to be a
 sanitized value. We shouldn't overload it.

 That's fine, because add_menu also takes a 'meta' argument, which can take
 the form of `array( 'class' => 'more classes here' )`.

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


More information about the wp-trac mailing list