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:
John Blackbourn 2017-09-27 13:06:37 +00:00
parent 1507df9d59
commit a80aeeb5dc
1 changed files with 0 additions and 1 deletions

View File

@ -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;