mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-03 19:41:39 +00:00
Customizer: Rename WP_New_Menu_Customize_Control to WP_Customize_New_Menu_Control for consistency.
props DrewAPicture. fixes #33324. git-svn-id: https://develop.svn.wordpress.org/trunk@33602 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2273,7 +2273,7 @@
|
||||
* wp.customize.Menus.NewMenuControl
|
||||
*
|
||||
* 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
|
||||
* @augments wp.customize.Control
|
||||
|
||||
@@ -1945,7 +1945,7 @@ class WP_Customize_Nav_Menu_Auto_Add_Control extends 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.
|
||||
|
||||
@@ -575,7 +575,7 @@ final class WP_Customize_Nav_Menus {
|
||||
'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',
|
||||
) ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user