WordPress.org

Make WordPress Core

Changeset 9590


Ignore:
Timestamp:
11/10/08 17:45:38 (6 years ago)
Author:
ryan
Message:

Don't use deprecated functions. Props filosofo. fixes #8130

Location:
trunk/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/author-template.php

    r8742 r9590  
    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) ) { 
  • trunk/wp-includes/bookmark-template.php

    r9410 r9590  
    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 
  • trunk/wp-includes/canonical.php

    r9506 r9590  
    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        } 
  • trunk/wp-includes/post-template.php

    r9484 r9590  
    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: 
Note: See TracChangeset for help on using the changeset viewer.