Make WordPress Core


Ignore:
Timestamp:
06/13/2007 06:03:17 PM (19 years ago)
Author:
ryan
Message:

Don't output author uri tag if uri is empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/author-template.php

    r5638 r5699  
    165165function get_the_author_url() {
    166166    global $authordata;
     167
     168    if ( 'http://' == $authordata>user_url )
     169        return '';
     170
    167171    return $authordata->user_url;
    168172}
Note: See TracChangeset for help on using the changeset viewer.