Make WordPress Core

Changeset 44228 for trunk


Ignore:
Timestamp:
12/16/2018 04:47:41 AM (6 years ago)
Author:
desrosj
Message:

Docs: Future-proof comments referencing 5.0 TODOs.

Some Customizer-related files contain inline comments referencing work to do for #42364 for 5.0. Those comments are now outdated as #42364 was moved to the 5.1 milestone.

Merges [43887] to trunk.

Props dlh, pento.
Fixes #45115.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/js/_enqueues/wp/customize/nav-menus.js

    r43347 r44228  
    31153115        nav_menu: api.Menus.MenuControl,
    31163116        nav_menu_name: api.Menus.MenuNameControl,
    3117         new_menu: api.Menus.NewMenuControl, // @todo Remove in 5.0. See #42364.
     3117        new_menu: api.Menus.NewMenuControl, // @todo Remove in a future release. See #42364.
    31183118        nav_menu_locations: api.Menus.MenuLocationsControl,
    31193119        nav_menu_auto_add: api.Menus.MenuAutoAddControl
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r43578 r44228  
    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 5.0. See #42364.
     320        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-control.php' ); // @todo Remove in a future release. See #42364.
    321321
    322322        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menus-panel.php' );
     
    326326        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-sidebar-section.php' );
    327327        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 5.0. See #42364.
     328        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-section.php' ); // @todo Remove in a future release. See #42364.
    329329
    330330        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-custom-css-setting.php' );
  • trunk/src/wp-includes/customize/class-wp-customize-new-menu-control.php

    r42034 r44228  
    3737     */
    3838    public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
    39         _deprecated_file( basename( __FILE__ ), '4.9.0' ); // @todo Move this outside of class in 5.0, and remove its require_once() from class-wp-customize-control.php. See #42364.
     39        _deprecated_file( basename( __FILE__ ), '4.9.0' ); // @todo Move this outside of class, and remove its require_once() from class-wp-customize-control.php. See #42364.
    4040        parent::__construct( $manager, $id, $args );
    4141    }
  • trunk/src/wp-includes/customize/class-wp-customize-new-menu-section.php

    r42034 r44228  
    3939     */
    4040    public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
    41         _deprecated_file( basename( __FILE__ ), '4.9.0' ); // @todo Move this outside of class in 5.0, and remove its require_once() from class-wp-customize-section.php. See #42364.
     41        _deprecated_file( basename( __FILE__ ), '4.9.0' ); // @todo Move this outside of class, and remove its require_once() from class-wp-customize-section.php. See #42364.
    4242        parent::__construct( $manager, $id, $args );
    4343    }
Note: See TracChangeset for help on using the changeset viewer.