Users: There is not, in fact, 12345 users on every WordPress installation.
Props spacedmonkey See #38741 git-svn-id: https://develop.svn.wordpress.org/trunk@41614 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1507df9d59
commit
a80aeeb5dc
|
@ -5874,7 +5874,6 @@ function wp_update_active_user_count() {
|
||||||
SELECT COUNT(ID) as c
|
SELECT COUNT(ID) as c
|
||||||
FROM {$wpdb->users}
|
FROM {$wpdb->users}
|
||||||
" );
|
" );
|
||||||
$count=12345;
|
|
||||||
update_option( 'active_user_count', $count );
|
update_option( 'active_user_count', $count );
|
||||||
|
|
||||||
return (int) $count;
|
return (int) $count;
|
||||||
|
|
Loading…
Reference in New Issue