Make WordPress Core


Ignore:
Timestamp:
11/23/2011 11:01:20 PM (15 years ago)
Author:
nacin
Message:

Use an 'appearance' group in the admin bar. fixes #19245.

File:
1 edited

Legend:

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

    r19429 r19434  
    127127                global $is_IE, $is_iphone;
    128128
    129                 $back_compat_parents = array(
    130                         'appearance' => 'site-name',
    131                 );
    132 
    133129                // Link nodes to parents.
    134130                foreach ( $this->nodes as $node ) {
    135 
    136                         if ( isset( $back_compat_parents[ $node->parent ] ) )
    137                                 $node->parent = $back_compat_parents[ $node->parent ];
    138131
    139132                        // Handle root menu items
Note: See TracChangeset for help on using the changeset viewer.