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

git-svn-id: https://develop.svn.wordpress.org/trunk@24048 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-04-22 19:33:39 +00:00
parent cabad11bb4
commit 3ebbe1ae51
6 changed files with 28 additions and 27 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ foreach ( $menu as $id => $data ) {
$new_parent = $first_sub[2];
// If the first submenu is not the same as the assigned parent,
// make the first submenu the new parent.
if ( $new_parent != $old_parent && 'customize.php' != $new_parent ) {
if ( $new_parent != $old_parent ) {
$_wp_real_parent_file[$old_parent] = $new_parent;
$menu[$id][2] = $new_parent;