Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#20454 closed defect (bug) (invalid)

WXR export and Disqus

Reported by: eozyo's profile eozyo Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.1
Component: Export Keywords:
Focuses: Cc:

Description

It came to my attention that the WXR auto-generated file writes the <generator> tag outside the <rss> tag.

Because of this, Disqus doesn't automatically upload comments to their servers and gives the following error:

"XML syntax error: Extra content at the end of the document, line 19 column 1"

If you download the WXR file to your computer and you move the <generator> tag inside <rss> gets the issue fixed.

Change History (3)

#1 @duck_
13 years ago

I cannot reproduce this. wp-admin/includes/export.php does use the function the_generator() outside of the <rss> tag, but since the type is "export" the generator string produced is within an XML comment. The <generator> tag is produced by the_generator() being hooked into the "rss2_head" action which is done within the <rss> tag.

#2 @nacin
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

#3 @SergeyBiryukov
12 years ago

  • Keywords needs-patch removed
  • Severity changed from critical to normal
Note: See TracTickets for help on using tickets.