diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-09-30 09:35:05 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-09-30 09:35:05 +0000 |
commit | f3ce3b261520df3a7958b09a69874180431809aa (patch) | |
tree | 00fe904e9dbc343e0d42e3a152caaee92203af3c | |
parent | 062358ff4e45bd13a0b1c0cf965f46cda0b81774 (diff) | |
download | wordpress-mu-f3ce3b261520df3a7958b09a69874180431809aa.tar.gz wordpress-mu-f3ce3b261520df3a7958b09a69874180431809aa.tar.xz wordpress-mu-f3ce3b261520df3a7958b09a69874180431809aa.zip |
Merged changes from http://trac.wordpress.org/changeset/8568 to fix #746
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1498 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r-- | wp-includes/widgets.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 73e1f6e..2a71a02 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -1162,12 +1162,8 @@ function wp_widget_rss_output( $rss, $args = array() ) { $author = ' <cite>' . wp_specialchars( strip_tags( $item['author_name'] ) ) . '</cite>'; } - if ( $link == '' ) { - echo "<li>$title{$date}{$summary}{$author}</li>"; - } else { - echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$summary}{$author}</li>"; - } -} + echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$summary}{$author}</li>"; + } echo '</ul>'; } else { echo '<ul><li>' . __( 'An error has occurred; the feed is probably down. Try again later.' ) . '</li></ul>'; |