Opened 14 months ago
Closed 14 months ago
#60019 closed defect (bug) (duplicate)
Document global $wpdb in wp-admin
Reported by: | viralsampat | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | docs, coding-standards | Cc: |
Description
Hello Team,
I have reviewed the wp-admin folder and found that we are using a global wpdb variable. But they do not mention it in the function comment. So, I think we need to improve the function comment code.
File Names:
wp-admin/includes/class-wp-debug-data.php
wp-admin/includes/class-wp-site-health.php
wp-admin/includes/deprecated.php
Thanks,
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, thanks for the patch!
This appears to be resolved in [54953] / #57069, where the missing entries were added, and also in [57141] / #59977, where the unused global was removed from
WP_Site_Health::get_test_utf8mb4_support()
.