Changeset 11471
- Timestamp:
- 05/27/2009 09:51:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r11450 r11471 824 824 if ( $show_author ) { 825 825 $author = $item->get_author(); 826 $author = $author->get_name(); 827 $author = ' <cite>' . esc_html( strip_tags( $author ) ) . '</cite>'; 826 if ( is_object($author) ) { 827 $author = $author->get_name(); 828 $author = ' <cite>' . esc_html( strip_tags( $author ) ) . '</cite>'; 829 } 828 830 } 829 831
Note: See TracChangeset
for help on using the changeset viewer.