Allow custom author elements such as email. Fixes #17149 props niallkennedy.

git-svn-id: https://develop.svn.wordpress.org/trunk@17641 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2011-04-17 07:39:41 +00:00
parent 6d0f618fd9
commit 6b0bf6cd72
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
<name><?php the_author() ?></name>
<?php $author_url = get_the_author_meta('url'); if ( !empty($author_url) ) : ?>
<uri><?php the_author_meta('url')?></uri>
<?php endif; ?>
<?php endif;
do_action('atom_author'); ?>
</author>
<title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
<link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />