Opened 8 months ago
Closed 8 months ago
#59977 closed defect (bug) (fixed)
Remove the Unused global variables in the class-wp-site-health.php file.
Reported by: | upadalavipul | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 5.2 |
Component: | Site Health | Keywords: | has-patch |
Focuses: | coding-standards | Cc: |
Description
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
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Thanks for the ticket and patch!
Nice catch, The global was introduce in [44984] / #46573 and in [56475] / #59118 we removed the use of that global so we should remove that global.