[wp-trac] [WordPress Trac] #31556: `$wpdb` global object should be retrieved via a helper function to help prevent global stomping

WordPress Trac noreply at wordpress.org
Tue May 24 23:53:49 UTC 2016


#31556: `$wpdb` global object should be retrieved via a helper function to help
prevent global stomping
-------------------------+----------------------
 Reporter:  jtsternberg  |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Database     |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------
Changes (by pento):

 * keywords:  has-patch 2nd-opinion => has-patch
 * status:  new => closed
 * version:  4.2 =>
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 I still have the reservations I expressed in [comment:4 comment #4]. Lots
 of code churn for only a little extra protection doesn't seem like a good
 tradeoff.

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


More information about the wp-trac mailing list