Skip to content

Commit a21f5a3

Browse files
Site Health: Remove unused $wpdb global in utf8mb4 support test.
Follow-up to [44984], [56475]. Props upadalavipul, mukesh27. Fixes #59977. git-svn-id: https://develop.svn.wordpress.org/trunk@57141 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 5f2f5f6 commit a21f5a3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/wp-admin/includes/class-wp-site-health.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,13 +1288,9 @@ public function get_test_sql_server() {
12881288
*
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();
13001296
}

0 commit comments

Comments
 (0)