You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'<![CDATA[' is not the heading content, here we need to 'trim' content inside the tag first.
A quick fix is to add \s* around (.*?) in preg_match.
The text was updated successfully, but these errors were encountered:
vabc3
changed the title
Post content didn't import properly due to parsing issue of get_tag
Post content didn't import properly due to parsing issue in get_tag
Oct 16, 2020
Exported XML via wordpress 5.1 could not be properly imported.
The imported content will always have ]> at end of post.
The xml is like:
This is valid XML, but it will cause issue in current parsing logic:
wordpress-importer/src/parsers/class-wxr-parser-regex.php
Lines 115 to 118 in 64e575a
'<![CDATA[' is not the heading content, here we need to 'trim' content inside the tag first.
A quick fix is to add
\s*
around(.*?)
in preg_match.The text was updated successfully, but these errors were encountered: