[wp-trac] [WordPress Trac] #46602: Remove documentation reference to global $wpdb in upgrade.php

WordPress Trac noreply at wordpress.org
Wed Apr 17 14:07:02 UTC 2019

#46602: Remove documentation reference to global $wpdb in upgrade.php
 Reporter:  jayupadhyay01     |       Owner:  dswebsme
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.2
Component:  Upgrade/Install   |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
Changes (by SergeyBiryukov):

 * status:  assigned => closed
 * resolution:   => fixed


 In [changeset:"45233" 45233]:
 #!CommitTicketReference repository="" revision="45233"
 Docs: Remove `@global` tag for `$wpdb` from `wp-admin/install.php` and

 Per the documentation standards, the `@global` tag is meant to list PHP
 globals used within functions or methods.

 The code in question uses the variable in global namespace, but does not
 explicitly declare it.

 Props jayupadhyay01, dswebsme.
 Fixes #46602.

Ticket URL: <https://core.trac.wordpress.org/ticket/46602#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list