Skip to content
Snippets Groups Projects
Commit 70cd2f78 authored by root's avatar root Committed by agata
Browse files

Do not leak how many users/blogs there are to api.wordpress.org

parent ca6e0d2f
No related branches found
No related tags found
No related merge requests found
......@@ -93,15 +93,15 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) {
}
$query = array(
'version' => $wp_version,
'php' => $php_version,
'locale' => $locale,
'mysql' => $mysql_version,
'local_package' => isset( $wp_local_package ) ? $wp_local_package : '',
'blogs' => $num_blogs,
'users' => $user_count,
'multisite_enabled' => $multisite_enabled,
'initial_db_version' => get_site_option( 'initial_db_version' ),
'version' => $wp_version,
'php' => 'N/A',
'locale' => 'C',
'mysql' => 'N/A',
'local_package' => isset( $wp_local_package ) ? $wp_local_package : '',
'blogs' => 31337,
'users' => 31337,
'multisite_enabled' => 0,
'initial_db_version' => 31337
);
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment