diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php index f5159809a..d2bebc802 100644 --- a/wp-includes/default-widgets.php +++ b/wp-includes/default-widgets.php @@ -823,8 +823,10 @@ function wp_widget_rss_output( $rss, $args = array() ) { $author = ''; if ( $show_author ) { $author = $item->get_author(); - $author = $author->get_name(); - $author = ' ' . esc_html( strip_tags( $author ) ) . ''; + if ( is_object($author) ) { + $author = $author->get_name(); + $author = ' ' . esc_html( strip_tags( $author ) ) . ''; + } } if ( $link == '' ) {