Use correct panel id for menus when linking to the customizer.
Props swissspidy. Fixes #32808. git-svn-id: https://develop.svn.wordpress.org/trunk@33004 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3092f5a638
commit
4a59595cf3
@ -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>',
|
||||
esc_url( add_query_arg(
|
||||
array(
|
||||
array( 'autofocus' => array( 'panel' => 'menus' ) ),
|
||||
array( 'autofocus' => array( 'panel' => 'nav_menus' ) ),
|
||||
'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) )
|
||||
),
|
||||
admin_url( 'customize.php' )
|
||||
|
Loading…
Reference in New Issue
Block a user