Changeset 5699
- Timestamp:
- 06/13/2007 06:03:17 PM (17 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/author-template.php
r5638 r5699 165 165 function get_the_author_url() { 166 166 global $authordata; 167 168 if ( 'http://' == $authordata>user_url ) 169 return ''; 170 167 171 return $authordata->user_url; 168 172 } -
trunk/wp-includes/feed-atom.php
r5640 r5699 27 27 <author> 28 28 <name><?php the_author() ?></name> 29 <?php $author_url = get_the_author_url(); if ( !empty($author_url) ) : ?> 29 30 <uri><?php the_author_url()?></uri> 31 <?php endif; ?> 30 32 </author> 31 33 <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
Note: See TracChangeset
for help on using the changeset viewer.