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() ?>]]>