WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/03/2019 04:46:55 PM (9 months ago)
Author:
desrosj
Message:

Customize: Formally deprecate unused Customizer classes.

The WP_Customize_New_Menu_Control and WP_Customize_New_Menu_Section PHP classes and wp.customize.Menus.NewMenuControl JS class were deprecated in 4.9 through [42034] with the intention of removing them in 5.0. Since more time has passed than originally intended, this change leaves WP_Customize_New_Menu_Control and WP_Customize_New_Menu_Section to prevent any potential backwards compatibility issues, and formally deprecates them. The wp.customize.Menus.NewMenuControl JS class is removed.

Props weston.ruter, matthias-reuter, jrf.
Fixes #42364.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r46548 r46637  
    318318        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-locations-control.php' );
    319319        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-auto-add-control.php' );
    320         require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-control.php' ); // @todo Remove in a future release. See #42364.
    321320
    322321        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menus-panel.php' );
     
    326325        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-sidebar-section.php' );
    327326        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-section.php' );
    328         require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-section.php' ); // @todo Remove in a future release. See #42364.
    329327
    330328        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-custom-css-setting.php' );
Note: See TracChangeset for help on using the changeset viewer.