[wp-trac] [WordPress Trac] #12560: occasional blog option corruption for serialized values

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 9 00:00:03 UTC 2010


#12560: occasional blog option corruption for serialized values
----------------------------+-----------------------------------------------
 Reporter:  RogerTheriault  |       Owner:           
     Type:  defect (bug)    |      Status:  new      
 Priority:  low             |   Milestone:  3.0      
Component:  Multisite       |     Version:  3.0      
 Severity:  minor           |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 get_blog_option sometimes / randomly returns nothing and corrupts/wipes
 out the entry for a serialized value. Seen as far back as WPMU 2.8, so
 this has been around. Traced it down to the call to unserialize - changed
 it to maybe_unserialize and the issue went away.

 A patch for trunk is attached. Has only been tested on one installation.

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


More information about the wp-trac mailing list