Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16597, comment 6


Ignore:
Timestamp:
05/14/2011 01:32:03 PM (13 years ago)
Author:
hakre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16597, comment 6

    initial v1  
    11If 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.
     2
     3'''Edit:''' Or use maybe_unserialize() on CSV data fields which might be more straight forward (and does what I wrote).