Make WordPress Core


Ignore:
Timestamp:
05/20/2009 09:32:39 PM (15 years ago)
Author:
ryan
Message:

Use get_the_author_meta(). Props sivel. see #9393

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-atom.php

    r11323 r11416  
    3232        <author>
    3333            <name><?php the_author() ?></name>
    34             <?php $author_url = get_the_author_url(); if ( !empty($author_url) ) : ?>
    35             <uri><?php the_author_url()?></uri>
     34            <?php $author_url = get_the_author_meta('url'); if ( !empty($author_url) ) : ?>
     35            <uri><?php the_author_meta('url')?></uri>
    3636            <?php endif; ?>
    3737        </author>
Note: See TracChangeset for help on using the changeset viewer.