[wp-hackers] question regarding serialization and unserialization

Scott Plumlee wp-hackers at plumlee.org
Thu Sep 28 12:19:12 GMT 2006


Scott Plumlee wrote:
> Mark Jaquith wrote:
>> On Sep 27, 2006, at 11:07 PM, Scott Plumlee wrote:
>>
>>> Anyone know if adjusting the serialization values in Wordpress this 
>>> way would break the unserialization?
>>
>> If not done correctly, it would.  Why not just feed the whole option 
>> value into your script, unserialize, change, serialize?
>> -- 
>> Mark Jaquith
> 
> I'm feeding the entire database dump into the script to globally change 
> the site name, so I'm trying to keep it quick and easy.  And for some 
> reason, this is the ONLY value that doesn't get read correctly.  At 
> least, so far as I've noticed.
> 

Arrgh.  Please pardon the noise, as usual, it was PEBCAK problem.  I 
suck at regular expressions.



More information about the wp-hackers mailing list