Make WordPress Core


Ignore:
Timestamp:
06/04/2008 03:31:14 PM (17 years ago)
Author:
ryan
Message:

TinyMCE 3.0.9 from azaozz. fixes #7088

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/tiny_mce_config.php

    r7999 r8047  
    214214$plugins = explode( ',', $initArray['plugins'] );
    215215$theme = ( 'simple' == $initArray['theme'] ) ? 'simple' : 'advanced';
    216 $language = isset($initArray['language']) ? substr( $initArray['language'], 0, 2 ) : 'en';
     216$language = ( isset($initArray['language']) && ! empty($initArray['language']) ) ? substr( $initArray['language'], 0, 2 ) : 'en';
    217217$cacheKey = $mce_options = ''; 
    218218
     
    227227if ( $disk_cache ) {
    228228
    229     $cacheKey = apply_filters('tiny_mce_version', '20080423');
     229    $cacheKey = apply_filters('tiny_mce_version', '20080602');
    230230
    231231    foreach ( $initArray as $v )
     
    274274$mce_options = rtrim( trim($mce_options), '\n\r,' );
    275275
    276 $content = 'var tinyMCEPreInit = { settings : { themes : "' . $theme . '", plugins : "' . $initArray['plugins'] . '", languages : "' . $language . '", debug : false }, base : "' . $baseurl . '", suffix : "" };';
     276$content = 'var tinyMCEPreInit = { settings : { themes : "' . $theme . '", plugins : "' . $initArray['plugins'] . '", languages : "' . $language . '", debug : false }, base : "' . $baseurl . '", suffix : "", query : "ver=3091" };';
    277277
    278278// Load patch
Note: See TracChangeset for help on using the changeset viewer.