[wp-trac] Re: [WordPress Trac] #10274: Simplify options caching

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 26 18:30:12 GMT 2009


#10274: Simplify options caching
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  normal        |   Milestone:  2.9 
Component:  Cache         |     Version:      
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------

Comment(by hailin):

 I think it's a good idea to retain notoptions cache, because the presence
 of all option names cache does not guarantee the presence of every
 individual option (the former one could expire or been deleted earlier).
 Besides, there is no easy way to check get_multi returns all individual
 options. It just returns a big array.
 Keeping notoptions cache makes the logic complete and safe.

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


More information about the wp-trac mailing list