[wp-trac] [WordPress Trac] #37699: Death to Globals Episode #1: A Registry, A Pattern
WordPress Trac
noreply at wordpress.org
Thu Aug 18 17:22:29 UTC 2016
#37699: Death to Globals Episode #1: A Registry, A Pattern
----------------------------+------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------
Comment (by charliespider):
Replying to [comment:10 wonderboymusic]:
> if the class is loaded (and WordPress loads everything), why wouldn't
`new wpdb` work?
I think he was replying to schlessera's comment about changing the wpdb
class to be an interface
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37699#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list