[wp-trac] [WordPress Trac] #18197: The admin bar should blend in better with the new UI

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 12 21:07:23 UTC 2011


#18197: The admin bar should blend in better with the new UI
----------------------------+--------------------------
 Reporter:  nacin           |       Owner:  koopersmith
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  3.3
Component:  UI              |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+--------------------------

Comment (by ocean90):

 There is a problem with secondary menu items.

 Code snippet which works nice in 3.2:

 {{{
 function admin_bar_test() {
         global $wp_admin_bar;

         $wp_admin_bar->add_menu( array(
                 'parent' => 'new-content',
                 'title' => 'Foo Bar',
                 'href' => '#'
         ) );
 }
 add_action( 'admin_bar_menu', 'admin_bar_test', 71 );
 }}}

 How it looks now:
 [[BR]]

 [[Image(http://cl.ly/Av62/Bildschirmfoto_2011-10-12_um_22.57.03.png)]]

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


More information about the wp-trac mailing list