[wp-trac] Re: [WordPress Trac] #7383: maybe_serialize() should serialize all non-string values

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 23 12:39:48 GMT 2008

#7383: maybe_serialize() should serialize all non-string values
 Reporter:  DD32       |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:  2.7      
Component:  General    |      Version:  2.6      
 Severity:  normal     |   Resolution:           
 Keywords:  has-patch  |  
Comment (by DD32):

 > Lets just hope no one passes a resource to the function.
 If you serialize a resource, It gets saved as an integer :)

 This also affects Post meta, So it might be worth looking into seeing if
 theres any effects of this change there.

 I'm going to work around this in the specific plugin by storing the value
 in an array.. I was going to have to move it to an array at some stage

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

More information about the wp-trac mailing list