Make WordPress Core

Opened 3 months ago

Closed 3 months ago

#60019 closed defect (bug) (duplicate)

Document global $wpdb in wp-admin

Reported by: viralsampat's profile 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)

60019.patch (1.5 KB) - added by viralsampat 3 months ago.

Download all attachments as: .zip

Change History (2)

@viralsampat
3 months ago

#1 @SergeyBiryukov
3 months ago

  • Component changed from General to Administration
  • Keywords needs-patch dev-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

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().

Note: See TracTickets for help on using tickets.