From 0f4225621dd6d3a6a067dcd03ba6d50d3a0478fb Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 13 Jun 2007 18:03:17 +0000 Subject: [PATCH] Don't output author uri tag if uri is empty. git-svn-id: https://develop.svn.wordpress.org/trunk@5699 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 3c287b0da9..e250fe9698 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 265c080743..e4c831c3f4 100644 --- a/wp-includes/feed-atom.php +++ b/wp-includes/feed-atom.php @@ -26,7 +26,9 @@ $more = 1; + + <![CDATA[<?php the_title_rss() ?>]]>