[wp-trac] [WordPress Trac] #16597: Bug in the maybe_serialize() function - it serializing also serailize objects.
WordPress Trac
wp-trac at lists.automattic.com
Sat May 14 13:30:55 UTC 2011
#16597: Bug in the maybe_serialize() function - it serializing also serailize
objects.
--------------------------+------------------------------
Reporter: maorb | Owner: nacin
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.0.5
Severity: major | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by hakre):
If you import a CSV, the import script should make use of the
is_serailized() function on each field. In case this function returns
true, unserialize it. Then give only unserialized values to the
add_post_meta()/add_metadata() functions and you should be fine.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16597#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list