mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Set charset for MCE. Props nbachiyski. fixes #3574
git-svn-id: http://svn.automattic.com/wordpress/trunk@4845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
771e8bdb8d
commit
a8b506e705
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @version 1.08
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved.
|
||||
* @copyright Copyright 2005-2006, Moxiecode Systems AB, All rights reserved.
|
||||
*
|
||||
* This file compresses the TinyMCE JavaScript using GZip and
|
||||
* enables the browser to do two requests instead of one for each .js file.
|
||||
@ -82,7 +82,7 @@ $cacheDir = realpath("."); // Absolute directory path to where cached gz file
|
||||
$debug = false; // Enable this option if you need debuging info
|
||||
|
||||
// Headers
|
||||
header("Content-type: text/javascript; charset: UTF-8");
|
||||
header("Content-Type: text/javascript; charset=" . get_bloginfo('charset'));
|
||||
// header("Cache-Control: must-revalidate");
|
||||
header("Vary: Accept-Encoding"); // Handle proxies
|
||||
header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT");
|
||||
|
@ -1,4 +1,6 @@
|
||||
<?php require_once('../../../wp-config.php'); ?>
|
||||
<?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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
||||
<head>
|
||||
|
Loading…
Reference in New Issue
Block a user