[wp-trac] [WordPress Trac] #16287: get_option() - store retrieved option in a global array?
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 18 16:30:28 UTC 2011
#16287: get_option() - store retrieved option in a global array?
----------------------------------+----------------------
Reporter: digitalnature | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Database | Version: 3.1
Severity: normal | Resolution: invalid
Keywords: get_option, database |
----------------------------------+----------------------
Comment (by scribu):
Replying to [comment:10 digitalnature]:
> you'll notice that a global makes the page do less queries than wp cache
(in my case it's 70 vs 90)
No, it does not. Globals are wiped out on each page load.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16287#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list