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

git-svn-id: http://svn.automattic.com/wordpress/trunk@9590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-10 17:45:38 +00:00
parent d699f0d00d
commit 2d1010a8fb
4 changed files with 4 additions and 6 deletions

View File

@ -499,7 +499,7 @@ function wp_list_authors($args = '') {
$link .= ' ';
if (empty($feed_image))
$link .= '(';
$link .= '<a href="' . get_author_rss_link(0, $author->ID, $author->user_nicename) . '"';
$link .= '<a href="' . get_author_feed_link($author->ID) . '"';
if ( !empty($feed) ) {
$title = ' title="' . $feed . '"';

View File

@ -122,7 +122,7 @@ function _walk_bookmarks($bookmarks, $args = '' ) {
$output .= $between . $desc;
if ($show_rating) {
$output .= $between . get_linkrating($bookmark);
$output .= $between . sanitize_bookmark_field('link_rating', $bookmark->link_rating, $bookmark->link_id, 'display');
}
$output .= "$after\n";

View File

@ -126,7 +126,7 @@ function redirect_canonical($requested_url=null, $do_redirect=true) {
$redirect['query'] = remove_query_arg('cat', $redirect['query']);
} elseif ( is_author() && !empty($_GET['author']) ) {
$author = get_userdata(get_query_var('author'));
if ( false !== $author && $redirect_url = get_author_link(false, $author->ID, $author->user_nicename) )
if ( false !== $author && $redirect_url = get_author_posts_url($author->ID, $author->user_nicename) )
$redirect['query'] = remove_query_arg('author', $redirect['author']);
}

View File

@ -386,9 +386,7 @@ function sticky_class( $post_id = null ) {
* The formatted output of a list of pages.
*
* Displays page links for paginated posts (i.e. includes the <!--nextpage-->.
* Quicktag one or more times). This works in much the same way as link_pages(),
* the difference being that arguments are given in query string format. This
* tag must be within The Loop.
* Quicktag one or more times). This tag must be within The Loop.
*
* The defaults for overwriting are:
* 'next_or_number' - Default is 'number' (string). Indicates whether page