From 72c169c2f19130e803a2c9ddf50988338995020b Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 13 Jun 2007 18:03:17 +0000 Subject: [PATCH] Don't output author uri tag if uri is empty. git-svn-id: http://svn.automattic.com/wordpress/trunk@5699 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/author-template.php | 4 ++++ wp-includes/feed-atom.php | 2 ++ 2 files changed, 6 insertions(+) diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 3c287b0da..e250fe969 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -164,6 +164,10 @@ function the_author_email() { */ function get_the_author_url() { global $authordata; + + if ( 'http://' == $authordata>user_url ) + return ''; + return $authordata->user_url; } diff --git a/wp-includes/feed-atom.php b/wp-includes/feed-atom.php index 265c08074..e4c831c3f 100644 --- a/wp-includes/feed-atom.php +++ b/wp-includes/feed-atom.php @@ -26,7 +26,9 @@ $more = 1; + + <![CDATA[<?php the_title_rss() ?>]]>