Instantiate some MS variables as objects before using them. Spaces not tabs for vertical alignment. Remove unnecessary conditional piece. props PeteMall, see #18049.

git-svn-id: https://develop.svn.wordpress.org/trunk@18560 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-08-17 17:49:57 +00:00
parent 1b3b0e211c
commit 87ec764c57
2 changed files with 13 additions and 10 deletions
+4 -2
View File
@@ -19,8 +19,10 @@
function get_sitestats() {
global $wpdb;
$stats['blogs'] = get_blog_count();
$stats['users'] = get_user_count();
$stats = array(
'blogs' => get_blog_count(),
'users' => get_user_count(),
);
return $stats;
}