Support » Plugin: Enable Media Replace » replacer will break serialize data in postmeta

  • Resolved simongcc

    (@simongcc)


    Hello! Thanks for creating such a convenient plugin.

    I have encountered an occasion that since my postmeta is serialized.
    When the “replacer” replaces the path inside the SQL and post it back.
    It breaks the data and it cannot be unserialized because when the filename is updated, the number of strings is updated too. When it did not match the numbers in the serialized data, it breaks.

    This occasion occurs on many projects which are using visual composing tools or custom themes that are using a similar mechanism.

    Would you mind catering this by detecting serialized data and do an unserialized actions before putting back? Or if it is too troublesome to you, you may consider adding actions or filters for additional manipulations.

    Many thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.