WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/19/2009 06:08:27 AM (10 years ago)
Author:
ryan
Message:

Enforce incoming links item limit

File:
1 edited

Legend:

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

    r11603 r11604  
    635635    echo "<ul>\n";
    636636
    637     $count = 0;
    638     foreach ( $rss->get_items() as $item ) {
     637    if ( !isset($items) )
     638        $items = 10;
     639
     640    foreach ( $rss->get_items(0, $items) as $item ) {
    639641        $publisher = '';
    640642        $site_link = '';
Note: See TracChangeset for help on using the changeset viewer.