[wp-trac] [WordPress Trac] #3562: Some cache adds should be sets

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 11 21:53:43 GMT 2007

#3562: Some cache adds should be sets
 Reporter:  andy     |       Owner:  anonymous       
     Type:  defect   |      Status:  new             
 Priority:  high     |   Milestone:  2.2             
Component:  General  |     Version:  2.0             
 Severity:  minor    |    Keywords:  has-patch commit
 When the data is fresh from the db or another authoritative source, the
 cache operation should be SET, not ADD.

 With ADD you run the risk of innacurate data taking precedence. This has
 caused nasty issues with plugins on wordpress.com.

 Patch attached.

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

More information about the wp-trac mailing list