Changeset 11388 for trunk/wp-includes/script-loader.php
- Timestamp:
- 05/18/2009 08:29:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r11378 r11388 9 9 * 10 10 * Several constants are used to manage the loading, concatenating and compression of scripts and CSS: 11 * define('SCRIPT_DEBUG', true); loads the devel ppment (non-minified) versions of all scripts12 * define('CONCATENATE_SCRIPTS', false); disables both compression and cancatenating,11 * define('SCRIPT_DEBUG', true); loads the development (non-minified) versions of all scripts and disables compression and concatenation 12 * define('CONCATENATE_SCRIPTS', false); disables compression and concatenation, 13 13 * define('COMPRESS_SCRIPTS', false); disables compression of scripts, 14 14 * define('COMPRESS_CSS', false); disables compression of CSS, … … 87 87 $scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' ); 88 88 89 // Modify this version when tinyMCE plugins are changed. 90 function mce_version() { 91 return '20090503'; 92 } 93 add_filter( 'tiny_mce_version', 'mce_version' ); 94 95 $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", false, mce_version() ); 89 $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", false, '20090503' ); 96 90 97 91 $scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
Note: See TracChangeset
for help on using the changeset viewer.