Clean the cache-manifests, make $manifest_version and $tinymce_version global vars accessible from the manifest
git-svn-id: http://svn.automattic.com/wordpress/trunk@11388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
* file.
|
||||
*
|
||||
* Several constants are used to manage the loading, concatenating and compression of scripts and CSS:
|
||||
* define('SCRIPT_DEBUG', true); loads the develppment (non-minified) versions of all scripts
|
||||
* define('CONCATENATE_SCRIPTS', false); disables both compression and cancatenating,
|
||||
* define('SCRIPT_DEBUG', true); loads the development (non-minified) versions of all scripts and disables compression and concatenation
|
||||
* define('CONCATENATE_SCRIPTS', false); disables compression and concatenation,
|
||||
* define('COMPRESS_SCRIPTS', false); disables compression of scripts,
|
||||
* define('COMPRESS_CSS', false); disables compression of CSS,
|
||||
* define('ENFORCE_GZIP', true); forces gzip for compression (default is deflate).
|
||||
@@ -86,13 +86,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
|
||||
$scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' );
|
||||
|
||||
// Modify this version when tinyMCE plugins are changed.
|
||||
function mce_version() {
|
||||
return '20090503';
|
||||
}
|
||||
add_filter( 'tiny_mce_version', 'mce_version' );
|
||||
|
||||
$scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", false, mce_version() );
|
||||
$scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", false, '20090503' );
|
||||
|
||||
$scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
|
||||
|
||||
|
||||
@@ -17,4 +17,16 @@ $wp_version = '2.8-beta1-11380';
|
||||
*/
|
||||
$wp_db_version = 10851;
|
||||
|
||||
?>
|
||||
/**
|
||||
* Holds the TinyMCE version
|
||||
*
|
||||
* @global string $tinymce_version
|
||||
*/
|
||||
$tinymce_version = '323';
|
||||
|
||||
/**
|
||||
* Holds the cache manifest version
|
||||
*
|
||||
* @global string $manifest_version
|
||||
*/
|
||||
$manifest_version = '20090517';
|
||||
|
||||
Reference in New Issue
Block a user