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:
Helen Hou-Sandi
2015-08-10 18:06:01 +00:00
parent 0c29101892
commit 0999b0182b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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',
) ) );
}