[wp-trac] [WordPress Trac] #45604: Docs: Added description for global $wpdb

WordPress Trac noreply at wordpress.org
Sun Dec 16 02:12:09 UTC 2018


#45604: Docs: Added description for global $wpdb
-------------------------------------------------+-------------------------
 Reporter:  mukesh27                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  General                              |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback good-first-   |     Focuses:  docs
  bug                                            |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => Future Release


Comment:

 Hi @mukesh27, thanks for the patch!

 When adding the description for `$wpdb` in DocBlocks that have other
 global variables (`$wp_query`, `$wp_locale`, etc.), I think it would be a
 good idea to document those variables as well for consistency.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45604#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list