CoreFiles by mySites.guru
wp-tinymce.php29 lines, 801 bytes, from wordpress-2.8.4.zip
Raw History Compare with 2.8.3
md5
36a26bc150dabe78aea06beff9058063
sha1
61a528edb55a966fad6296efb9699881b152b336
sha256
1f506e247273500683b66aca54512f95fa01be77b261ce7baa8ad2694679d39d
<?php

$basepath = dirname(__FILE__);

function get_file($path) {

	if ( function_exists('realpath') )
		$path = realpath($path);

	if ( ! $path || ! @is_file($path) )
		return false;

	return @file_get_contents($path);
}

$expires_offset = 31536000;

header('Content-Type: application/x-javascript; charset=UTF-8');
header('Vary: Accept-Encoding'); // Handle proxies
header('Expires: ' . gmdate( "D, d M Y H:i:s", time() + $expires_offset ) . ' GMT');
header("Cache-Control: public, max-age=$expires_offset");

if ( isset($_GET['c']) && 1 == $_GET['c'] && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') && ( $file = get_file($basepath . '/wp-tinymce.js.gz') ) ) {
	header('Content-Encoding: gzip');
	echo $file;
} else {
	echo get_file($basepath . '/wp-tinymce.js');
}
exit;

The same content is in 12 releases, WordPress 2.8.1-beta1 to 2.9-beta-1. See them all, or every version of this file.