• Backslashes in custom fields (postmeta) values aren’t copied when creating new revision. For example field with value of “a\b” becomes “ab”.

    Adding this after line 307 seems to help with the issue:

    $meta_value = addslashes($meta_value);

  • The topic ‘Custom fields with backslashes’ is closed to new replies.