Commit 653a2aa2 authored by root's avatar root Committed by agata

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

parent d698bfcf
......@@ -89,15 +89,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
);
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment