[wp-trac] [WordPress Trac] #59977: Remove the Unused global variables in the class-wp-site-health.php file.

WordPress Trac noreply at wordpress.org
Tue Nov 28 13:34:01 UTC 2023


#59977: Remove the Unused global variables in the class-wp-site-health.php file.
------------------------------+-----------------------------
 Reporter:  upadalavipul      |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 I have reviewed the class-wp-site-health.php file code and found the
 get_test_utf8mb4_support function unused global $wpdb variable. So we need
 to remove the here $wpdb global variable.

 File Path: wp-admin/includes/class-wp-site-health.php

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59977>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list