Use correct panel id for menus when linking to the customizer.

Props swissspidy.
Fixes #32808.


Built from https://develop.svn.wordpress.org/trunk@33004


git-svn-id: http://core.svn.wordpress.org/trunk@32975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland 2015-06-30 16:24:24 +00:00
parent f051c59433
commit aa3cb4ab1d
2 changed files with 2 additions and 2 deletions

View File

@ -569,7 +569,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
' <a class="add-new-h2 hide-if-no-customize" href="%1$s">%2$s</a>', ' <a class="add-new-h2 hide-if-no-customize" href="%1$s">%2$s</a>',
esc_url( add_query_arg( esc_url( add_query_arg(
array( array(
array( 'autofocus' => array( 'panel' => 'menus' ) ), array( 'autofocus' => array( 'panel' => 'nav_menus' ) ),
'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) 'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) )
), ),
admin_url( 'customize.php' ) admin_url( 'customize.php' )

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-33003'; $wp_version = '4.3-alpha-33004';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.