Make WordPress Core


Ignore:
Timestamp:
05/18/2009 08:29:26 PM (16 years ago)
Author:
azaozz
Message:

Clean the cache-manifests, make $manifest_version and $tinymce_version global vars accessible from the manifest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r11378 r11388  
    99 *
    1010 * Several constants are used to manage the loading, concatenating and compression of scripts and CSS:
    11  * define('SCRIPT_DEBUG', true); loads the develppment (non-minified) versions of all scripts
    12  * 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,
    1313 * define('COMPRESS_SCRIPTS', false); disables compression of scripts,
    1414 * define('COMPRESS_CSS', false); disables compression of CSS,
     
    8787    $scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' );
    8888
    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' );
    9690
    9791    $scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
Note: See TracChangeset for help on using the changeset viewer.