Make WordPress Core

Changeset 19523


Ignore:
Timestamp:
12/01/2011 04:32:33 AM (13 years ago)
Author:
ryan
Message:

Remove new-secondary-object group from toolbar New content menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r19518 r19523  
    486486
    487487    if ( current_user_can( 'create_users' ) || current_user_can( 'promote_users' ) )
    488         $actions[ 'user-new.php' ] = array( _x( 'User', 'add new from admin bar' ), 'new-user', 'new-secondary-object' );
     488        $actions[ 'user-new.php' ] = array( _x( 'User', 'add new from admin bar' ), 'new-user' );
    489489
    490490    if ( ! $actions )
     
    635635        ),
    636636    ) );
    637 
    638     $wp_admin_bar->add_group( array(
    639         'parent' => 'new-content',
    640         'id'     => 'new-secondary-object',
    641         'meta'   => array(
    642             'class' => 'ab-sub-secondary',
    643         ),
    644     ) );
    645637}
    646638
Note: See TracChangeset for help on using the changeset viewer.