Make WordPress Core


Ignore:
Timestamp:
08/17/2011 05:49:57 PM (13 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r18524 r18560  
    2020    global $wpdb;
    2121
    22     $stats['blogs'] = get_blog_count();
    23     $stats['users'] = get_user_count();
     22    $stats = array(
     23        'blogs' => get_blog_count(),
     24        'users' => get_user_count(),
     25    );
    2426
    2527    return $stats;
Note: See TracChangeset for help on using the changeset viewer.