[wp-trac] [WordPress Trac] #30866: wordpress-Importer plugin xml parser unit testing fail.
WordPress Trac
noreply at wordpress.org
Wed Dec 31 01:07:34 UTC 2014
#30866: wordpress-Importer plugin xml parser unit testing fail.
-------------------------------+------------------------------
Reporter: edwardkim | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Import | Version: 4.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by boonebgorges):
Thanks for the environment details. I still can't make this test fail. The
fix you've suggested seems too broad to me. It appears that something is
happening - maybe in the regex in `get_tag()`? - that is causing an
incorrect value to be passed to `cdata()`. In my own tests, the value
passed to `cdata()` looks like this - `Content with nested <![CDATA[ tags
]]`.
Perhaps you can get a full stack trace (`debug_backtrace()`) at the point
where the "tags" string is being passed to `cdata()`, and you can check to
see what's happening in `get_tag()`. (And maybe someone who understands
the importer better than I do can chime in :) )
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30866#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list