If only one incoming link, show it. Props synapsestudios and hansengel. fixes #7122
git-svn-id: https://develop.svn.wordpress.org/trunk@8097 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8ef3dea136
commit
0f60672bdd
@ -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
Block a user