diff --git a/wp-admin/index-extra.php b/wp-admin/index-extra.php new file mode 100644 index 000000000..782e0a7e1 --- /dev/null +++ b/wp-admin/index-extra.php @@ -0,0 +1,67 @@ +items) && 1 < count($rss->items) ) { // Technorati returns a 1-item feed when it has no results +?> +

+ +items) && 0 != count($rss->items) ) { +?> +

+items = array_slice($rss->items, 0, 3); +foreach ($rss->items as $item ) { +?> +

'>

+

+ + +items) && 0 != count($rss->items) ) { +?> +

+ +

»

+ \ No newline at end of file diff --git a/wp-admin/index.php b/wp-admin/index.php index c6d2e9130..6573931b2 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -1,9 +1,24 @@ + + @@ -15,22 +30,7 @@ $today = current_time('mysql', 1);

-items) && 0 != count($rss->items) ) { -?> - - + get_results("SELECT comment_author, comment_author_url, comment_ID, comment_post_ID FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 5"); @@ -128,48 +128,11 @@ if (0 < $numcats) $numcats = number_format($numcats);

documentation or visit the support forums."); ?>

-items) && 0 != count($rss->items) ) { -?> -
-

-items = array_slice($rss->items, 0, 3); -foreach ($rss->items as $item ) { -?> -

'>

-

- -
-items) && 0 != count($rss->items) ) { -?> -
-

- -

»

-
- +
+ +
+