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:
Ryan Boren
2009-05-20 21:32:39 +00:00
parent 47556a2dad
commit 15539caf5e
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1189,8 +1189,8 @@ EOD;
</app:control>
<author>
<name><?php the_author()?></name>
<?php if (get_the_author_url() && get_the_author_url() != 'http://') { ?>
<uri><?php the_author_url()?></uri>
<?php if ( get_the_author_meta('url') && get_the_author_meta('url') != 'http://' ) { ?>
<uri><?php the_author_meta('url') ?></uri>
<?php } ?>
</author>
<?php if($GLOBALS['post']->post_type == 'attachment') { ?>