Site Health: Remove MySQL query cache size from the Site Health Info screen.

The query cache is deprecated as of MySQL 5.7.20, and is removed in MySQL 8.0.

Reference: [https://dev.mysql.com/doc/refman/5.7/en/query-cache-configuration.html MySQL 5.7 Reference Manual: Query Cache Configuration].

Follow-up to [51522], [51523].

Props johnbillion, zodiac1978.
Fixes #53845.
Built from https://develop.svn.wordpress.org/trunk@51715


git-svn-id: http://core.svn.wordpress.org/trunk@51321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-09-01 07:01:56 +00:00
parent 33f4f396ef
commit 049bbe8356
2 changed files with 1 additions and 6 deletions

View File

@ -935,11 +935,6 @@ class WP_Debug_Data {
'value' => self::get_mysql_var( 'max_connections' ),
);
$info['wp-database']['fields']['query_cache_size'] = array(
'label' => __( 'Query cache size' ),
'value' => self::get_mysql_var( 'query_cache_size' ),
);
// List must use plugins if there are any.
$mu_plugins = get_mu_plugins();

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-51713';
$wp_version = '5.9-alpha-51715';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.