From c5461a67a7438ae03675f76ac8b43d30f8004bfe Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 1 Sep 2021 07:00:35 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@51715 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-debug-data.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index 2b07093365..a343196337 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/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();