[wp-trac] [WordPress Trac] #23132: wp_timezone_override_offset() has noticeable performance hit

WordPress Trac noreply at wordpress.org
Sat Feb 2 06:28:40 UTC 2013


#23132: wp_timezone_override_offset() has noticeable performance hit
-------------------------+------------------
 Reporter:  Rarst        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.6
Component:  Date/Time    |     Version:  3.5
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by nacin):

 Using a static variable cache that wraps a get_option() call means that
 this function won't work for switch_to_blog(). It'd need to be keyed by
 the option value (which I think is okay).

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


More information about the wp-trac mailing list