Changeset 19913
- Timestamp:
- 02/13/2012 06:05:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-editor.php
r19912 r19913 168 168 $plugins = array( 'inlinepopups', 'spellchecker', 'tabfocus', 'paste', 'media', 'fullscreen', 'wordpress', 'wpeditimage', 'wpgallery', 'wplink', 'wpdialogs' ); 169 169 $first_run = true; 170 $ext_plugins = ''; 170 171 171 172 if ( $set['teeny'] ) { 172 173 self::$plugins = $plugins = apply_filters( 'teeny_mce_plugins', array('inlinepopups', 'fullscreen', 'wordpress', 'wplink', 'wpdialogs'), $editor_id ); 173 $ext_plugins = '';174 174 } else { 175 175 /* … … 182 182 $mce_external_plugins = apply_filters('mce_external_plugins', array()); 183 183 184 $ext_plugins = '';185 184 if ( ! empty($mce_external_plugins) ) { 186 185 … … 248 247 $ext_plugins .= 'tinyMCEPreInit.load_ext("' . $plugurl . '", "' . $mce_locale . '");' . "\n"; 249 248 $ext_plugins .= 'tinymce.PluginManager.load("' . $name . '", "' . $url . '");' . "\n"; 250 251 self::$ext_plugins .= $ext_plugins;252 249 } 253 250 } … … 260 257 261 258 self::$plugins = $plugins; 259 self::$ext_plugins = $ext_plugins; 262 260 263 261 /*
Note: See TracChangeset
for help on using the changeset viewer.