Changeset 40929
- Timestamp:
- 06/25/2017 12:04:11 AM (7 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cache.php
r39051 r40929 265 265 */ 266 266 function wp_cache_reset() { 267 _deprecated_function( __FUNCTION__, '3.5.0' );267 _deprecated_function( __FUNCTION__, '3.5.0', 'WP_Object_Cache::reset()' ); 268 268 269 269 global $wp_object_cache; -
trunk/src/wp-includes/class-wp-customize-widgets.php
r40395 r40929 2056 2056 */ 2057 2057 public function setup_widget_addition_previews() { 2058 _deprecated_function( __METHOD__, '4.2.0' );2058 _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' ); 2059 2059 } 2060 2060 … … 2068 2068 */ 2069 2069 public function prepreview_added_sidebars_widgets() { 2070 _deprecated_function( __METHOD__, '4.2.0' );2070 _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' ); 2071 2071 } 2072 2072 … … 2080 2080 */ 2081 2081 public function prepreview_added_widget_instance() { 2082 _deprecated_function( __METHOD__, '4.2.0' );2082 _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' ); 2083 2083 } 2084 2084 … … 2092 2092 */ 2093 2093 public function remove_prepreview_filters() { 2094 _deprecated_function( __METHOD__, '4.2.0' );2094 _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' ); 2095 2095 } 2096 2096 } -
trunk/src/wp-includes/deprecated.php
r39758 r40929 1651 1651 */ 1652 1652 function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { 1653 _deprecated_function( __FUNCTION__, '2.9.0', 'the_content_feed ' );1653 _deprecated_function( __FUNCTION__, '2.9.0', 'the_content_feed()' ); 1654 1654 $content = get_the_content($more_link_text, $stripteaser); 1655 1655 $content = apply_filters('the_content_rss', $content); … … 3815 3815 */ 3816 3816 function _usort_terms_by_ID( $a, $b ) { 3817 _deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort ' );3817 _deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort()' ); 3818 3818 3819 3819 if ( $a->term_id > $b->term_id ) … … 3840 3840 */ 3841 3841 function _usort_terms_by_name( $a, $b ) { 3842 _deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort ' );3842 _deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort()' ); 3843 3843 3844 3844 return strcmp( $a->name, $b->name ); … … 3861 3861 global $_menu_item_sort_prop; 3862 3862 3863 _deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort ' );3863 _deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort()' ); 3864 3864 3865 3865 if ( empty( $_menu_item_sort_prop ) ) -
trunk/src/wp-includes/ms-deprecated.php
r40922 r40929 25 25 */ 26 26 function get_dashboard_blog() { 27 _deprecated_function( __FUNCTION__, '3.1.0' );27 _deprecated_function( __FUNCTION__, '3.1.0', 'get_site()' ); 28 28 if ( $blog = get_site_option( 'dashboard_blog' ) ) { 29 29 return get_site( $blog ); … … 269 269 */ 270 270 function wpmu_admin_do_redirect( $url = '' ) { 271 _deprecated_function( __FUNCTION__, '3.3.0' );271 _deprecated_function( __FUNCTION__, '3.3.0', 'wp_redirect()' ); 272 272 273 273 $ref = ''; … … 309 309 */ 310 310 function wpmu_admin_redirect_add_updated_param( $url = '' ) { 311 _deprecated_function( __FUNCTION__, '3.3.0' );311 _deprecated_function( __FUNCTION__, '3.3.0', 'add_query_arg()' ); 312 312 313 313 if ( strpos( $url, 'updated=true' ) === false ) {
Note: See TracChangeset
for help on using the changeset viewer.