[wp-trac] [WordPress Trac] #60019: Document global $wpdb in wp-admin

WordPress Trac noreply at wordpress.org
Wed Dec 6 09:07:30 UTC 2023


#60019: Document global $wpdb in wp-admin
------------------------------------+--------------------------------------
 Reporter:  viralsampat             |      Owner:  (none)
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  General                 |    Version:
 Severity:  normal                  |   Keywords:  needs-patch dev-feedback
  Focuses:  docs, coding-standards  |
------------------------------------+--------------------------------------
 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,

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


More information about the wp-trac mailing list