From 049bbe83564cc8aa8cb1d481680d941da4fee329 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 1 Sep 2021 07:01:56 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-debug-data.php | 5 ----- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index 2b07093365..a343196337 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -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(); diff --git a/wp-includes/version.php b/wp-includes/version.php index bcb8428a56..0965eeb41e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.