mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
Set charset for MCE. Props ruckus. fixes #3574
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6a9bb15793
commit
2b1974fee0
@ -59,7 +59,7 @@
|
||||
gzip_compression();
|
||||
|
||||
// Output rest of headers
|
||||
header("Content-type: text/javascript; charset: UTF-8");
|
||||
header("Content-Type: text/javascript; charset=".get_bloginfo('charset'));
|
||||
header("Vary: Accept-Encoding"); // Handle proxies
|
||||
header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT");
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once('../../../wp-config.php');
|
||||
header('Content-Type: text/html; charset='.get_bloginfo('charset'));
|
||||
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
Loading…
Reference in New Issue
Block a user