]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/wp-tinymce.php
WordPress 3.5.1
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / wp-tinymce.php
index 449f0e25f95cf2c28bdabb19aec700972d1862fc..83a003d720e12b396dd6a78f345838b63f42f93d 100644 (file)
@@ -19,7 +19,7 @@ function get_file($path) {
        return @file_get_contents($path);
 }
 
-$expires_offset = 31536000;
+$expires_offset = 31536000; // 1 year
 
 header('Content-Type: application/x-javascript; charset=UTF-8');
 header('Vary: Accept-Encoding'); // Handle proxies
@@ -33,5 +33,6 @@ if ( isset($_GET['c']) && 1 == $_GET['c'] && isset($_SERVER['HTTP_ACCEPT_ENCODIN
        echo $file;
 } else {
        echo get_file($basepath . '/tiny_mce.js');
+       echo get_file($basepath . '/wp-tinymce-schema.js');
 }
 exit;