[wp-trac] [WordPress Trac] #16005: When trying to remove an item from the admin bar, a blank spot is added in lieu of it

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 29 16:12:16 UTC 2010


#16005: When trying to remove an item from the admin bar, a blank spot is added in
lieu of it
----------------------------+------------------
 Reporter:  sorich87        |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.1
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------

Comment (by sorich87):

 Without the foreach loop, removing child items (e.g.
 $wp_admin_bar->remove_menu( 'new-post' );) will not work.

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


More information about the wp-trac mailing list