Changeset 28081
- Timestamp:
- 04/11/2014 10:16:01 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r27847 r28081 57 57 '!wp-includes/js/underscore.js', 58 58 '!wp-includes/js/jquery/jquery.masonry.js', 59 '!wp-includes/js/tinymce/tinymce.js', 59 60 '!wp-includes/version.php' // Exclude version.php 60 61 ], -
trunk/src/wp-includes/class-wp-editor.php
r28071 r28081 1081 1081 1082 1082 $baseurl = self::$baseurl; 1083 // Load tinymce.js when running from /src, else load wp-tinymce.js.gz (production) or tinymce.min.js (SCRIPT_DEBUG) 1084 $mce_suffix = false !== strpos( $GLOBALS['wp_version'], '-src' ) ? '' : '.min'; 1083 1085 1084 1086 if ( $tmce_on ) { … … 1086 1088 echo "<script type='text/javascript' src='{$baseurl}/wp-tinymce.php?c=1&$version'></script>\n"; 1087 1089 } else { 1088 echo "<script type='text/javascript' src='{$baseurl}/tinymce .js?$version'></script>\n";1090 echo "<script type='text/javascript' src='{$baseurl}/tinymce{$mce_suffix}.js?$version'></script>\n"; 1089 1091 echo "<script type='text/javascript' src='{$baseurl}/plugins/compat3x/plugin{$suffix}.js?$version'></script>\n"; 1090 1092 } -
trunk/src/wp-includes/js/tinymce/wp-tinymce.php
r23120 r28081 33 33 echo $file; 34 34 } else { 35 echo get_file($basepath . '/tiny_mce.js'); 36 echo get_file($basepath . '/wp-tinymce-schema.js'); 35 // Back compat. This file shouldn't be used if this condition can occur (as in, if gzip isn't accepted). 36 echo get_file( $basepath . '/tinymce.min.js' ); 37 echo get_file( $basepath . '/plugins/compat3x/plugin.min.js' ); 37 38 } 38 39 exit;
Note: See TracChangeset
for help on using the changeset viewer.