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
This commit is contained in:
Sergey Biryukov
2023-11-28 20:22:26 +00:00
parent 5f2f5f60ee
commit a21f5a3cc0

View File

@@ -1288,13 +1288,9 @@ class WP_Site_Health {
*
* @since 5.2.0
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @return array The test results.
*/
public function get_test_utf8mb4_support() {
global $wpdb;
if ( ! $this->mysql_server_version ) {
$this->prepare_sql_data();
}