[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:31:56 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:  admin bar
----------------------------+-----------------------------------------------

Comment(by defries):

 Replying to [comment:1 nacin]:
 > The CSS change looks fine, that said, there are remove_node and
 remove_menu methods for the WP_Admin_Bar class, that ideally you would
 then leverage to remove specific ones.
 >
 > Obviously you also will want to make sure that you are actually denying
 users access to these pages via capability checks, unless of course this
 is only about usability and simplicity, versus access.

 It's more about usability and simplicity. Just to have some easy control
 over what is shown in that particular menu.

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


More information about the wp-trac mailing list