Make WordPress Core

Changeset 57141


Ignore:
Timestamp:
11/28/2023 08:22:26 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Remove unused $wpdb global in utf8mb4 support test.

Follow-up to [44984], [56475].

Props upadalavipul, mukesh27.
Fixes #59977.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r56982 r57141  
    12891289     * @since 5.2.0
    12901290     *
    1291      * @global wpdb $wpdb WordPress database abstraction object.
    1292      *
    12931291     * @return array The test results.
    12941292     */
    12951293    public function get_test_utf8mb4_support() {
    1296         global $wpdb;
    1297 
    12981294        if ( ! $this->mysql_server_version ) {
    12991295            $this->prepare_sql_data();
Note: See TracChangeset for help on using the changeset viewer.