WordPress.org

Make WordPress Core

Changeset 43887


Ignore:
Timestamp:
11/12/2018 04:22:46 AM (12 months ago)
Author:
pento
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.

Props dlh.
See #45115.

Location:
branches/5.0/src
Files:
4 edited

Legend:

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

    r42846 r43887  
    31123112        nav_menu: api.Menus.MenuControl,
    31133113        nav_menu_name: api.Menus.MenuNameControl,
    3114         new_menu: api.Menus.NewMenuControl, // @todo Remove in 5.0. See #42364.
     3114        new_menu: api.Menus.NewMenuControl, // @todo Remove in a future release. See #42364.
    31153115        nav_menu_locations: api.Menus.MenuLocationsControl,
    31163116        nav_menu_auto_add: api.Menus.MenuAutoAddControl
  • branches/5.0/src/wp-includes/class-wp-customize-manager.php

    r42811 r43887  
    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' );
  • branches/5.0/src/wp-includes/customize/class-wp-customize-new-menu-control.php

    r42034 r43887  
    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    }
  • branches/5.0/src/wp-includes/customize/class-wp-customize-new-menu-section.php

    r42034 r43887  
    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.