diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 2efd7a4057..744b07a726 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -1162,8 +1162,12 @@ function wp_widget_rss_output( $rss, $args = array() ) { $author = ' ' . wp_specialchars( strip_tags( $item['author_name'] ) ) . ''; } - echo "
  • $title{$date}{$summary}{$author}
  • "; - } + if ( $link == '' ) { + echo "
  • $title{$date}{$summary}{$author}
  • "; + } else { + echo "
  • $title{$date}{$summary}{$author}
  • "; + } +} echo ''; } else { echo '';