Make WordPress Core


Ignore:
Timestamp:
06/25/2017 12:04:11 AM (7 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/deprecated.php

    r39758 r40929  
    16511651 */
    16521652function 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()' );
    16541654    $content = get_the_content($more_link_text, $stripteaser);
    16551655    $content = apply_filters('the_content_rss', $content);
     
    38153815 */
    38163816function _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()' );
    38183818
    38193819    if ( $a->term_id > $b->term_id )
     
    38403840 */
    38413841function _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()' );
    38433843
    38443844    return strcmp( $a->name, $b->name );
     
    38613861    global $_menu_item_sort_prop;
    38623862
    3863     _deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort' );
     3863    _deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort()' );
    38643864
    38653865    if ( empty( $_menu_item_sort_prop ) )
Note: See TracChangeset for help on using the changeset viewer.