[wp-trac] [WordPress Trac] #26096: Caching issue in get_calendar() function

WordPress Trac noreply at wordpress.org
Mon Nov 18 10:34:46 UTC 2013


#26096: Caching issue in get_calendar() function
--------------------------+-----------------------------
 Reporter:  alexVauch     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Template      |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 Now the result of get_calendar() execution is cached. Including checking
 of user agent:
 {{{
 if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false ||
 stripos($_SERVER['HTTP_USER_AGENT'], 'camino') !== false ||
 stripos($_SERVER['HTTP_USER_AGENT'], 'safari') !== false)
 }}}

 I suggest to cache only db queries.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26096>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list