Make WordPress Core

Opened 21 years ago

Closed 20 years ago

Last modified 20 years ago

#2581 closed defect (bug) (fixed)

list-manipulation.php needs text/plain header

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

Description

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)

#1 @skeltoac
21 years ago

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

#2 @Nazgul
20 years ago

  • Milestone → 2.0.5
  • Resolution → fixed
  • Status new → closed

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

#3 @foolswisdom
20 years ago

  • Milestone 2.0.5 → 2.0.3

[3808] appears to have been included in 2.0.3 .

Thanks Nazgul!

#4 @(none)
20 years ago

  • Milestone 2.0.3

Milestone 2.0.3 deleted

Note: See TracTickets for help on using tickets.