WordPress.org

Make WordPress Core

Ticket #7122: 7122.r8071.diff

File 7122.r8071.diff, 577 bytes (added by hansengel, 9 years ago)
  • wp-admin/includes/dashboard.php

     
    315315        $widgets = get_option( 'dashboard_widget_options' ); 
    316316        @extract( @$widgets['dashboard_incoming_links'], EXTR_SKIP ); 
    317317        $rss = @fetch_rss( $url ); 
    318         if ( isset($rss->items) && 1 < count($rss->items) )  {// Technorati returns a 1-item feed when it has no results 
     318        if ( isset($rss->items) && 0 < count($rss->items) )  { 
    319319 
    320320                echo "<ul>\n"; 
    321321