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:
parent
b2e75c5194
commit
1349203eed
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue