WordPress.org

Make WordPress Core

Changeset 33602


Ignore:
Timestamp:
08/10/2015 06:06:01 PM (6 years ago)
Author:
helen
Message:

Customizer: Rename WP_New_Menu_Customize_Control to WP_Customize_New_Menu_Control for consistency.

props DrewAPicture.
fixes #33324.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-nav-menus.js

    r33515 r33602  
    22742274     *
    22752275     * Customizer control for creating new menus and handling deletion of existing menus.
    2276      * Note that 'new_menu' must match the WP_New_Menu_Customize_Control::$type.
     2276     * Note that 'new_menu' must match the WP_Customize_New_Menu_Control::$type.
    22772277     *
    22782278     * @constructor
  • trunk/src/wp-includes/class-wp-customize-control.php

    r33483 r33602  
    19461946 * @see WP_Customize_Control
    19471947 */
    1948 class WP_New_Menu_Customize_Control extends WP_Customize_Control {
     1948class WP_Customize_New_Menu_Control extends WP_Customize_Control {
    19491949
    19501950    /**
  • trunk/src/wp-includes/class-wp-customize-nav-menus.php

    r33511 r33602  
    576576        ) );
    577577
    578         $this->manager->add_control( new WP_New_Menu_Customize_Control( $this->manager, 'create_new_menu', array(
     578        $this->manager->add_control( new WP_Customize_New_Menu_Control( $this->manager, 'create_new_menu', array(
    579579            'section' => 'add_menu',
    580580        ) ) );
Note: See TracChangeset for help on using the changeset viewer.