[wp-trac] [WordPress Trac] #7347: maybe_serialize() should serialize strings that are already serialized
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 6 19:08:50 UTC 2009
#7347: maybe_serialize() should serialize strings that are already serialized
--------------------------+-------------------------------------------------
Reporter: ryan | Owner: anonymous
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.6.1
Component: General | Version: 2.6
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+-------------------------------------------------
Comment(by JonathanRogers):
This has to be one of the dumbest things I've come across in a while. Why
would it ever be a good idea to serialize an already serialized string? I
came across this trying to figure out why custom fields with serialized
strings stored in them were showing up doubly serialized.
Specifically, I'd export a page, then import it using the built-in
Wordpress UI and the plugin using the custom field no longer worked as
intended because the value was doubly serialized. Ticket #4028 seems to
indicate this very bug was fixed 2 years ago, only to be re-introduced a
year later.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7347#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list