Ticket #2841 (closed defect (bug): fixed)

Opened 6 years ago

Last modified 5 years ago

No HTTP Content-Type header on 404 page

Reported by: Nazgul Owned by: anonymous
Priority: normal Milestone:
Component: General Version: 2.0.3
Severity: normal Keywords: HTTP Content-Type header 404 bg|has-patch
Cc:

Description

I noticed that WordPress doesn't emit a Content-Type HTTP header on 404 pages. As a result the PHP default is being used, which results in 'weird' characters on those pages.

See  http://wordpress.org/support/topic/76331 for more info.

Attachments

2841.diff Download (612 bytes) - added by Nazgul 6 years ago.

Change History

Nazgul6 years ago

  • Keywords bg|has-patch added

Fix turned out to be a lot easier than expected. Patch uploaded.

comment:2   ryan6 years ago

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

(In [3914]) Send Content-type for 404s. Props Nazgul. fixes #2841

comment:3   ryan6 years ago

(In [3915]) Send Content-type for 404s. Props Nazgul. fixes #2841

comment:4   ryan6 years ago

  • Milestone changed from 2.1 to 2.0.4
  • Milestone 2.0.4 deleted

Milestone 2.0.4 deleted

Note: See TracTickets for help on using tickets.