- Timestamp:
- 01/15/2014 07:06:26 PM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r26934 r26958 237 237 'wpdialogs', 238 238 ) ) ); 239 240 if ( ( $key = array_search( 'spellchecker', $plugins ) ) !== false ) { 241 // Remove 'spellchecker' from the internal plugins if added with 'tiny_mce_plugins' filter to prevent errors. 242 // It can be added with 'mce_external_plugins'. 243 unset( $plugins[$key] ); 244 } 239 245 240 246 if ( ! empty( $mce_external_plugins ) ) { … … 325 331 if ( ! empty( $mce_external_plugins ) ) { 326 332 self::$first_init['external_plugins'] = json_encode( $mce_external_plugins ); 327 }328 329 if ( in_array( 'spellchecker', $plugins, true ) ) {330 self::$first_init['spellchecker_rpc_url'] = self::$baseurl . '/plugins/spellchecker/rpc.php';331 self::$first_init['spellchecker_language'] = self::$mce_locale;332 333 } 333 334
Note: See TracChangeset
for help on using the changeset viewer.