[wp-trac] [WordPress Trac] #13480: update_option + PHP5 Object references not storing correctly in cache

WordPress Trac wp-trac at lists.automattic.com
Sun May 23 11:19:36 UTC 2010


#13480: update_option + PHP5 Object references not storing correctly in cache
------------------------------+---------------------------------------------
 Reporter:  dd32              |        Owner:  ryan  
     Type:  defect (bug)      |       Status:  closed
 Priority:  normal            |    Milestone:  3.0   
Component:  Cache             |      Version:  3.0   
 Severity:  normal            |   Resolution:  fixed 
 Keywords:  needs-unit-tests  |  
------------------------------+---------------------------------------------

Comment(by dd32):

 Another way to reproduce:

  * Create an object, store its value in an option, update a field in that
 object WITHOUT SAVING
  * Retrieve option, It should contain the first copy of the object, Under
 PHP5 previously, it will return the updated object (directly from the
 cache which references the original object)

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


More information about the wp-trac mailing list