From 1349203eed43b047f3b5aea3bf16fc00aefc2d66 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 16 Jun 2008 18:44:13 +0000 Subject: [PATCH] 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 --- wp-admin/includes/dashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 1b4f86e573..3b71c29035 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -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 "