Make WordPress Core

Changeset 19526


Ignore:
Timestamp:
12/01/2011 04:43:17 AM (15 years ago)
Author:
nacin
Message:

Remove code that is dead as of [19523].

File:
1 edited

Legend:

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

    r19523 r19526  
    504504        foreach ( $actions as $link => $action ) {
    505505                list( $title, $id ) = $action;
    506                 $parent = empty( $action[2] ) ? 'new-content' : $action[2];
    507 
    508                 $wp_admin_bar->add_menu( array(
    509                         'parent'    => $parent,
     506
     507                $wp_admin_bar->add_menu( array(
     508                        'parent'    => 'new-content',
    510509                        'id'        => $id,
    511510                        'title'     => $title,
Note: See TracChangeset for help on using the changeset viewer.