If only one incoming link, show it. Props synapsestudios and hansengel. fixes #7122

git-svn-id: http://svn.automattic.com/wordpress/trunk@8097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-06-16 18:44:13 +00:00
parent b2e75c5194
commit 1349203eed
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ function wp_dashboard_incoming_links_output() {
$widgets = get_option( 'dashboard_widget_options' );
@extract( @$widgets['dashboard_incoming_links'], EXTR_SKIP );
$rss = @fetch_rss( $url );
if ( isset($rss->items) && 1 < count($rss->items) ) {// Technorati returns a 1-item feed when it has no results
if ( isset($rss->items) && 0 < count($rss->items) ) {
echo "<ul>\n";