Make WordPress Core


Ignore:
Timestamp:
06/25/2017 12:04:11 AM (9 years ago)
Author:
DrewAPicture
Message:

Improve the usefulness of several _deprecated_function() calls by passing known replacement functions, methods, or hooks.

Props jrf.
See #41121.

File:
1 edited

Legend:

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

    r40395 r40929  
    20562056         */
    20572057        public function setup_widget_addition_previews() {
    2058                 _deprecated_function( __METHOD__, '4.2.0' );
     2058                _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' );
    20592059        }
    20602060
    … …  
    20682068         */
    20692069        public function prepreview_added_sidebars_widgets() {
    2070                 _deprecated_function( __METHOD__, '4.2.0' );
     2070                _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' );
    20712071        }
    20722072
    … …  
    20802080         */
    20812081        public function prepreview_added_widget_instance() {
    2082                 _deprecated_function( __METHOD__, '4.2.0' );
     2082                _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' );
    20832083        }
    20842084
    … …  
    20922092         */
    20932093        public function remove_prepreview_filters() {
    2094                 _deprecated_function( __METHOD__, '4.2.0' );
     2094                _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' );
    20952095        }
    20962096}
Note: See TracChangeset for help on using the changeset viewer.