mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Use get_the_author_meta(). Props sivel. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11416 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -31,8 +31,8 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
|
||||
<entry>
|
||||
<author>
|
||||
<name><?php the_author() ?></name>
|
||||
<?php $author_url = get_the_author_url(); if ( !empty($author_url) ) : ?>
|
||||
<uri><?php the_author_url()?></uri>
|
||||
<?php $author_url = get_the_author_meta('url'); if ( !empty($author_url) ) : ?>
|
||||
<uri><?php the_author_meta('url')?></uri>
|
||||
<?php endif; ?>
|
||||
</author>
|
||||
<title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
|
||||
|
||||
Reference in New Issue
Block a user