WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#8795 closed defect (bug) (fixed)

Missing header(...) in produces wrong encoding in Tags-Quicklinks

Reported by: UnderWordPressure Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:

Description

German "Umlaute" in the DashBoard Tags-Quicklinks quirks on some Linux Webservers.
This at least concerns the tag quicklinks, all other german "Umlaute" are okay.

Solution:
Add the "header()" line in "wp-admin/admin-ajax.php"

header('Content-Type:text/html; charset='.get_option('blog_charset'));

Screenshots availabe for explanation.
http://landfrauen-gifhorn.de/ablage/wp2.7-tags-quicklinks-bad.jpg
http://landfrauen-gifhorn.de/ablage/wp2.7-tags-quicklinks-good.jpg

Attachments (4)

admin-ajax.php (29.6 KB) - added by UnderWordPressure 6 years ago.
Patch in wp-admin/admin-ajax.php
wp2.7-tags-quicklinks-bad.jpg (40.5 KB) - added by UnderWordPressure 6 years ago.
Scrambled encoding in tag quicklinks
wp2.7-tags-quicklinks-ok.jpg (26.3 KB) - added by UnderWordPressure 6 years ago.
Tag quicklinks ok
press-this.php (21.7 KB) - added by UnderWordPressure 6 years ago.
In this file occures the same problem, header line is added by me.

Download all attachments as: .zip

Change History (5)

@UnderWordPressure6 years ago

Patch in wp-admin/admin-ajax.php

@UnderWordPressure6 years ago

Scrambled encoding in tag quicklinks

@UnderWordPressure6 years ago

Tag quicklinks ok

@UnderWordPressure6 years ago

In this file occures the same problem, header line is added by me.

comment:1 @azaozz6 years ago

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

(In [10375]) Add Content-Type header to admin-ajax and press this, props UnderWordPressure, fixes #8795

Note: See TracTickets for help on using tickets.