Make WordPress Core


Ignore:
Timestamp:
03/29/2013 08:39:54 PM (12 years ago)
Author:
markjaquith
Message:

Add "Customize" as first item under Appearance menu.

fixes #21413. props ryanhellyer, obenland, DrewAPicture

File:
1 edited

Legend:

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

    r19712 r23871  
    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 ) {
     76    if ( $new_parent != $old_parent && 'customize.php' != $new_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.