[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 22:41:29 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 digitalnature):

 you're right. when I add maybe_unserialize the query count will match like
 you said.
 I think the lower query count was because other queries don't fire because
 wrong option values :)

 thank you

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16287#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list