Make WordPress Core

Changeset 51715


Ignore:
Timestamp:
09/01/2021 07:00:35 AM (3 years ago)
Author:
SergeyBiryukov
Message:

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: MySQL 5.7 Reference Manual: Query Cache Configuration.

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

Props johnbillion, zodiac1978.
Fixes #53845.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-debug-data.php

    r51523 r51715  
    934934            'label' => __( 'Max connections number' ),
    935935            'value' => self::get_mysql_var( 'max_connections' ),
    936         );
    937 
    938         $info['wp-database']['fields']['query_cache_size'] = array(
    939             'label' => __( 'Query cache size' ),
    940             'value' => self::get_mysql_var( 'query_cache_size' ),
    941936        );
    942937
Note: See TracChangeset for help on using the changeset viewer.