Customizer: Rename `WP_New_Menu_Customize_Control` to `WP_Customize_New_Menu_Control` for consistency.
props DrewAPicture. fixes #33324. Built from https://develop.svn.wordpress.org/trunk@33602 git-svn-id: http://core.svn.wordpress.org/trunk@33569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aace7c2c8d
commit
7e2cec4edb
|
@ -2273,7 +2273,7 @@
|
||||||
* wp.customize.Menus.NewMenuControl
|
* wp.customize.Menus.NewMenuControl
|
||||||
*
|
*
|
||||||
* Customizer control for creating new menus and handling deletion of existing menus.
|
* Customizer control for creating new menus and handling deletion of existing menus.
|
||||||
* Note that 'new_menu' must match the WP_New_Menu_Customize_Control::$type.
|
* Note that 'new_menu' must match the WP_Customize_New_Menu_Control::$type.
|
||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @augments wp.customize.Control
|
* @augments wp.customize.Control
|
||||||
|
|
|
@ -1945,7 +1945,7 @@ class WP_Customize_Nav_Menu_Auto_Add_Control extends WP_Customize_Control {
|
||||||
*
|
*
|
||||||
* @see WP_Customize_Control
|
* @see WP_Customize_Control
|
||||||
*/
|
*/
|
||||||
class WP_New_Menu_Customize_Control extends WP_Customize_Control {
|
class WP_Customize_New_Menu_Control extends WP_Customize_Control {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Control type.
|
* Control type.
|
||||||
|
|
|
@ -575,7 +575,7 @@ final class WP_Customize_Nav_Menus {
|
||||||
'type' => 'new_menu',
|
'type' => 'new_menu',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$this->manager->add_control( new WP_New_Menu_Customize_Control( $this->manager, 'create_new_menu', array(
|
$this->manager->add_control( new WP_Customize_New_Menu_Control( $this->manager, 'create_new_menu', array(
|
||||||
'section' => 'add_menu',
|
'section' => 'add_menu',
|
||||||
) ) );
|
) ) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-RC2-33601';
|
$wp_version = '4.3-RC2-33602';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue