summaryrefslogtreecommitdiffstats
path: root/wp-includes/js
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-31 11:20:07 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-31 11:20:07 +0000
commit47bbd1a907d44da6e2a68aef7d03f725c5b16111 (patch)
tree6e3b054584145142576ebaa26cca9f6e878ec78f /wp-includes/js
parent2af62b45328bed8acc4c2484964722eed237c665 (diff)
downloadwordpress-mu-47bbd1a907d44da6e2a68aef7d03f725c5b16111.tar.gz
wordpress-mu-47bbd1a907d44da6e2a68aef7d03f725c5b16111.tar.xz
wordpress-mu-47bbd1a907d44da6e2a68aef7d03f725c5b16111.zip
WP Merge to rev 4850
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@875 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/js')
-rw-r--r--wp-includes/js/tinymce/tiny_mce_gzip.php4
-rw-r--r--wp-includes/js/tinymce/wp-mce-help.php4
2 files changed, 5 insertions, 3 deletions
diff --git a/wp-includes/js/tinymce/tiny_mce_gzip.php b/wp-includes/js/tinymce/tiny_mce_gzip.php
index 686fb61..0de8f42 100644
--- a/wp-includes/js/tinymce/tiny_mce_gzip.php
+++ b/wp-includes/js/tinymce/tiny_mce_gzip.php
@@ -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");
diff --git a/wp-includes/js/tinymce/wp-mce-help.php b/wp-includes/js/tinymce/wp-mce-help.php
index e28132a..fe90b0d 100644
--- a/wp-includes/js/tinymce/wp-mce-help.php
+++ b/wp-includes/js/tinymce/wp-mce-help.php
@@ -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>