Add "Customize" as first item under Appearance menu.

fixes #21413. props ryanhellyer, obenland, DrewAPicture

git-svn-id: https://develop.svn.wordpress.org/trunk@23871 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2013-03-29 20:39:54 +00:00
parent 9b90cd1698
commit c51895c997
6 changed files with 32 additions and 35 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 ) {
if ( $new_parent != $old_parent && 'customize.php' != $new_parent ) {
$_wp_real_parent_file[$old_parent] = $new_parent;
$menu[$id][2] = $new_parent;