WordPress.org

Make WordPress Core

Changeset 8097


Ignore:
Timestamp:
06/16/08 18:44:13 (7 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r8016 r8097  
    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"; 
Note: See TracChangeset for help on using the changeset viewer.