WordPress.org

Make WordPress Core

Changeset 17548


Ignore:
Timestamp:
03/23/11 21:25:35 (3 years ago)
Author:
markjaquith
Message:

Prevent Notice if the author object is not set.

File:
1 edited

Legend:

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

    r17100 r17548  
    204204 
    205205    global $authordata; 
     206    if ( !is_object( $authordata ) ) 
     207        return false; 
    206208    $link = sprintf( 
    207209        '<a href="%1$s" title="%2$s">%3$s</a>', 
Note: See TracChangeset for help on using the changeset viewer.