From f3f3886b6ce0f9cdf2a663c450a1ddb8593bd799 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 24 Nov 2008 17:04:14 +0000 Subject: WP Merge with revision 9860 git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1542 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/widgets.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'wp-includes/widgets.php') diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 2a71a02..73e1f6e 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 ''; -- cgit