Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#2581 closed defect (bug) (fixed)

list-manipulation.php needs text/plain header

Reported by: Juergen Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0.2
Component: Administration Keywords:
Focuses: Cc:


wp-admin/list-manipulation.php needs 'header("Content-type: text/plain", true);'.

Otherwise proxies like mod_proxy_html insert a DOCTYPE line at the start of the output
and the parsing in wp-admin/list-manipulation.js breaks (because isNaN('<DOCTYPE...') returns true)

Change History (4)

comment:1 @skeltoac9 years ago

True, good point. Not serving HTML, don't lie in the headers.

comment:2 @Nazgul8 years ago

  • Milestone set to 2.0.5
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in changeset 3808 for the 2.0 branch, file no longer present in trunk.

comment:3 @foolswisdom8 years ago

  • Milestone changed from 2.0.5 to 2.0.3

[3808] appears to have been included in 2.0.3 .

Thanks Nazgul!

comment:4 @anonymous8 years ago

  • Milestone 2.0.3 deleted

Milestone 2.0.3 deleted

Note: See TracTickets for help on using tickets.