Make WordPress Core


Ignore:
Timestamp:
04/22/2013 07:33:39 PM (12 years ago)
Author:
nacin
Message:

Revert [23871] - Customize should be added to the menu, but not hacked in as first. see #21413.

File:
1 edited

Legend:

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

    r23871 r24048  
    7474    // If the first submenu is not the same as the assigned parent,
    7575    // make the first submenu the new parent.
    76     if ( $new_parent != $old_parent && 'customize.php' != $new_parent ) {
     76    if ( $new_parent != $old_parent ) {
    7777        $_wp_real_parent_file[$old_parent] = $new_parent;
    7878        $menu[$id][2] = $new_parent;
Note: See TracChangeset for help on using the changeset viewer.