Changeset 32541 for trunk/src/wp-includes/user.php
- Timestamp:
- 05/22/2015 04:46:36 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/user.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r32524 r32541 1335 1335 */ 1336 1336 function count_users($strategy = 'time') { 1337 global $wpdb , $wp_roles;1337 global $wpdb; 1338 1338 1339 1339 // Initialize … … 1343 1343 1344 1344 if ( 'time' == $strategy ) { 1345 global $wp_roles; 1346 1347 if ( ! isset( $wp_roles ) ) 1348 $wp_roles = new WP_Roles(); 1349 1350 $avail_roles = $wp_roles->get_names(); 1345 $avail_roles = wp_roles()->get_names(); 1351 1346 1352 1347 // Build a CPU-intensive query that will return concise information.
Note: See TracChangeset
for help on using the changeset viewer.