[wp-trac] [WordPress Trac] #20773: update_option can't store serialized binary in wp_options.option_value column

WordPress Trac wp-trac at lists.automattic.com
Tue May 29 17:55:42 UTC 2012


#20773: update_option can't store serialized binary in wp_options.option_value
column
--------------------------+------------------------------
 Reporter:  mmaunder      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.3.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by mmaunder):

 Replying to [comment:1 scribu]:
 > What exactly are you trying to store?

 Binary md5 hashes as the example shows. However this isn't a support
 request so I'm not sure my specific case is relevant. The bug is about the
 general inability for update_option to store a serialized php structure
 containing binary data. At the very least the problem should be in the
 docs.

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


More information about the wp-trac mailing list