Enforce incoming links item limit
git-svn-id: http://svn.automattic.com/wordpress/trunk@11604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2f20a9693c
commit
f978e54cd9
|
@ -634,8 +634,10 @@ function wp_dashboard_incoming_links_output() {
|
|||
|
||||
echo "<ul>\n";
|
||||
|
||||
$count = 0;
|
||||
foreach ( $rss->get_items() as $item ) {
|
||||
if ( !isset($items) )
|
||||
$items = 10;
|
||||
|
||||
foreach ( $rss->get_items(0, $items) as $item ) {
|
||||
$publisher = '';
|
||||
$site_link = '';
|
||||
$link = '';
|
||||
|
|
Loading…
Reference in New Issue