Make WordPress Core

Changeset 4888


Ignore:
Timestamp:
02/16/2007 12:37:16 AM (20 years ago)
Author:
ryan
Message:

Set charset for MCE. Props ruckus. fixes #3574

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

Legend:

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

    r3624 r4888  
    6060
    6161        // Output rest of headers
    62         header("Content-type: text/javascript; charset: UTF-8");
     62        header("Content-Type: text/javascript; charset=".get_bloginfo('charset'));
    6363        header("Vary: Accept-Encoding"); // Handle proxies
    6464        header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT");
  • branches/2.0/wp-includes/js/tinymce/wp-mce-help.php

    r3167 r4888  
    22
    33require_once('../../../wp-config.php');
     4header('Content-Type: text/html; charset='.get_bloginfo('charset'));
    45
    56?>
Note: See TracChangeset for help on using the changeset viewer.