mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user