Make WordPress Core

Changeset 4846


Ignore:
Timestamp:
01/31/2007 02:09:08 AM (18 years ago)
Author:
ryan
Message:

Set charset for MCE. Props nbachiyski. fixes #3574

Location:
branches/2.1/wp-includes/js/tinymce
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/wp-includes/js/tinymce/tiny_mce_gzip.php

    r4209 r4846  
    77 * @version 1.08
    88 * @author Moxiecode
    9  * @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved.
     9 * @copyright Copyright 2005-2006, Moxiecode Systems AB, All rights reserved.
    1010 *
    1111 * This file compresses the TinyMCE JavaScript using GZip and
     
    8383
    8484// Headers
    85 header("Content-type: text/javascript; charset: UTF-8");
     85header("Content-Type: text/javascript; charset=" . get_bloginfo('charset'));
    8686// header("Cache-Control: must-revalidate");
    8787header("Vary: Accept-Encoding"); // Handle proxies
  • branches/2.1/wp-includes/js/tinymce/wp-mce-help.php

    r4747 r4846  
    1 <?php require_once('../../../wp-config.php'); ?>
     1<?php require_once('../../../wp-config.php');
     2header('Content-Type: text/html; charset=' . get_bloginfo('charset'));
     3?>
    24<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    35<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
Note: See TracChangeset for help on using the changeset viewer.