Make WordPress Core


Ignore:
Timestamp:
10/02/2008 04:30:14 PM (16 years ago)
Author:
azaozz
Message:

Update TinyMCE to 3.2.0 and remove compression, fixes #7827

File:
1 edited

Legend:

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

    r9061 r9064  
    6363    $scripts->add( 'colorpicker', '/wp-includes/js/colorpicker.js', array('prototype'), '3517' );
    6464
    65     // Let a plugin replace the visual editor
    66     $visual_editor = apply_filters('visual_editor', array('tiny_mce'));
    67     $scripts->add( 'editor', false, $visual_editor, '20080321' );
    68 
    69     $scripts->add( 'editor_functions', '/wp-admin/js/editor.js', false, '20080928' );
    70 
    7165    // Modify this version when tinyMCE plugins are changed.
    72     $mce_version = apply_filters('tiny_mce_version', '20080830');
    73     $scripts->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_config.php', array('editor_functions'), $mce_version );
     66    function mce_version() {
     67        return '20080930';
     68    }
     69    add_filter( 'tiny_mce_version', 'mce_version' );
     70
     71    $scripts->add( 'editor', '/wp-admin/js/editor.js', false, mce_version() );
    7472
    7573    $scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
Note: See TracChangeset for help on using the changeset viewer.