[wp-trac] [WordPress Trac] #17323: Warning for out of date and insecure browsers

WordPress Trac wp-trac at lists.automattic.com
Wed May 4 18:56:59 UTC 2011


#17323: Warning for out of date and insecure browsers
----------------------------+------------------
 Reporter:  aaroncampbell   |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.2
Component:  Administration  |     Version:  3.2
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by aaroncampbell):

 @nacin pointed out that the sky may fall on your head in the first patch
 if `$raw_response['body']` can't be unserialized.  He recommended `if ( !
 $response || ! $response['upgrade'] )`.  I'm opting instead to return if
 `! $response` BEFORE the transient is set since it doesn't make sense to
 set the transient to something invalid.

 Additionally he suggested caching longer, so I increased it from 1 day to
 1 week.

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


More information about the wp-trac mailing list