Make WordPress Core

Ticket #8130: deprecated_functions.2.7.diff

File deprecated_functions.2.7.diff, 2.4 KB (added by filosofo, 17 years ago)
  • wp-includes/post-template.php

     
    386386 * The formatted output of a list of pages.
    387387 *
    388388 * Displays page links for paginated posts (i.e. includes the <!--nextpage-->.
    389  * Quicktag one or more times). This works in much the same way as link_pages(),
    390  * the difference being that arguments are given in query string format. This
    391  * tag must be within The Loop.
     389 * Quicktag one or more times). This tag must be within The Loop.
    392390 *
    393391 * The defaults for overwriting are:
    394392 * 'next_or_number' - Default is 'number' (string). Indicates whether page
  • wp-includes/bookmark-template.php

     
    122122                        $output .= $between . $desc;
    123123
    124124                if ($show_rating) {
    125                         $output .= $between . get_linkrating($bookmark);
     125                        $output .= $between . sanitize_bookmark_field('link_rating', $bookmark->link_rating, $bookmark->link_id, 'display');
    126126                }
    127127
    128128                $output .= "$after\n";
  • wp-includes/author-template.php

     
    499499                                $link .= ' ';
    500500                                if (empty($feed_image))
    501501                                        $link .= '(';
    502                                 $link .= '<a href="' . get_author_rss_link(0, $author->ID, $author->user_nicename) . '"';
     502                                $link .= '<a href="' . get_author_feed_link($author->ID) . '"';
    503503
    504504                                if ( !empty($feed) ) {
    505505                                        $title = ' title="' . $feed . '"';
  • wp-includes/canonical.php

     
    126126                                $redirect['query'] = remove_query_arg('cat', $redirect['query']);
    127127                } elseif ( is_author() && !empty($_GET['author']) ) {
    128128                        $author = get_userdata(get_query_var('author'));
    129                         if ( false !== $author && $redirect_url = get_author_link(false, $author->ID, $author->user_nicename) )
     129                        if ( false !== $author && $redirect_url = get_author_posts_url($author->ID, $author->user_nicename) )
    130130                                $redirect['query'] = remove_query_arg('author', $redirect['author']);
    131131                }
    132132