From 15539caf5eb5b3a7242c1711cfde99b109ebca5d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 20 May 2009 21:32:39 +0000 Subject: [PATCH] Use get_the_author_meta(). Props sivel. see #9393 git-svn-id: https://develop.svn.wordpress.org/trunk@11416 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-app.php | 4 ++-- wp-includes/author-template.php | 6 +++--- wp-includes/feed-atom.php | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-app.php b/wp-app.php index 889a63b442..0ada250e3a 100644 --- a/wp-app.php +++ b/wp-app.php @@ -1189,8 +1189,8 @@ EOD; - - + + post_type == 'attachment') { ?> diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 71a1dc570a..f7d64f9bec 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -127,12 +127,12 @@ function the_author_meta($field = '', $user_id = false) { * * @link http://codex.wordpress.org/Template_Tags/the_author_link * @since 2.1 - * @uses get_the_author_url() + * @uses get_the_author_meta() * @uses the_author() */ function the_author_link() { - if (get_the_author_url()) { - echo '' . get_the_author() . ''; + if ( get_the_author_meta('url') ) { + echo '' . get_the_author() . ''; } else { the_author(); } diff --git a/wp-includes/feed-atom.php b/wp-includes/feed-atom.php index dad299129d..17b7833b7a 100644 --- a/wp-includes/feed-atom.php +++ b/wp-includes/feed-atom.php @@ -31,8 +31,8 @@ echo ''; ?> - - + + <![CDATA[<?php the_title_rss() ?>]]>