[wp-trac] [WordPress Trac] #11574: WordPress importer fails to import content which contains importer tags within it
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 23 12:50:58 UTC 2009
#11574: WordPress importer fails to import content which contains importer tags
within it
--------------------------+-------------------------------------------------
Reporter: westi | Owner: westi
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Import | Version: 2.7
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
For Example:
If you have the following post_meta value:
{{{
<wp:postmeta>
<wp:meta_key>evil</wp:meta_key>
<wp:meta_value><![CDATA[<wp:meta_value>evil</wp:meta_value>]]></wp:meta_value>
</wp:postmeta>
}}}
Currently we would import: {{{<![CDATA[<wp:meta_value>evil}}}
This is because the regex in {{{WP_Import::get_tag()}}} is non-greedy.
Tested back as far as 2.7.0 and this exists there too.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11574>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list