Changeset 8047 for trunk/wp-includes/js/tinymce/tiny_mce_config.php
- Timestamp:
- 06/04/2008 03:31:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/tiny_mce_config.php
r7999 r8047 214 214 $plugins = explode( ',', $initArray['plugins'] ); 215 215 $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'; 217 217 $cacheKey = $mce_options = ''; 218 218 … … 227 227 if ( $disk_cache ) { 228 228 229 $cacheKey = apply_filters('tiny_mce_version', '20080 423');229 $cacheKey = apply_filters('tiny_mce_version', '20080602'); 230 230 231 231 foreach ( $initArray as $v ) … … 274 274 $mce_options = rtrim( trim($mce_options), '\n\r,' ); 275 275 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" };'; 277 277 278 278 // Load patch
Note: See TracChangeset
for help on using the changeset viewer.