Changeset 11416
- Timestamp:
- 05/20/2009 09:32:39 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r11323 r11416 1190 1190 <author> 1191 1191 <name><?php the_author()?></name> 1192 <?php if ( get_the_author_url() && get_the_author_url() != 'http://') { ?>1193 <uri><?php the_author_ url()?></uri>1192 <?php if ( get_the_author_meta('url') && get_the_author_meta('url') != 'http://' ) { ?> 1193 <uri><?php the_author_meta('url') ?></uri> 1194 1194 <?php } ?> 1195 1195 </author> -
trunk/wp-includes/author-template.php
r11204 r11416 128 128 * @link http://codex.wordpress.org/Template_Tags/the_author_link 129 129 * @since 2.1 130 * @uses get_the_author_ url()130 * @uses get_the_author_meta() 131 131 * @uses the_author() 132 132 */ 133 133 function the_author_link() { 134 if ( get_the_author_url()) {135 echo '<a href="' . get_the_author_ url() . '" title="' . sprintf(__("Visit %s’s website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>';134 if ( get_the_author_meta('url') ) { 135 echo '<a href="' . get_the_author_meta('url') . '" title="' . sprintf(__("Visit %s’s website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>'; 136 136 } else { 137 137 the_author(); -
trunk/wp-includes/feed-atom.php
r11323 r11416 32 32 <author> 33 33 <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> 36 36 <?php endif; ?> 37 37 </author>
Note: See TracChangeset
for help on using the changeset viewer.