Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/wp-tinymce.php

    r12214 r11589  
    11<?php
    2 /**
    3  * Disable error reporting
    4  *
    5  * Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
    6  */
    7 error_reporting(0);
    82
    93$basepath = dirname(__FILE__);
     
    2721header("Cache-Control: public, max-age=$expires_offset");
    2822
    29 if ( isset($_GET['c']) && 1 == $_GET['c'] && isset($_SERVER['HTTP_ACCEPT_ENCODING'])
    30     && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') && ( $file = get_file($basepath . '/wp-tinymce.js.gz') ) ) {
    31 
     23if ( isset($_GET['c']) && 1 == $_GET['c'] && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') && ( $file = get_file($basepath . '/wp-tinymce.js.gz') ) ) {
    3224    header('Content-Encoding: gzip');
    3325    echo $file;
Note: See TracChangeset for help on using the changeset viewer.