WordPress.org

Make WordPress Core

Ticket #24789: 24789.diff

File 24789.diff, 844 bytes (added by ryanduff, 5 years ago)

First pass to disable spellchecker plugin

  • wp-includes/class-wp-editor.php

     
    192192                                self::$baseurl = includes_url('js/tinymce');
    193193                                self::$mce_locale = $mce_locale = ( '' == get_locale() ) ? 'en' : strtolower( substr(get_locale(), 0, 2) ); // only ISO 639-1
    194194                                $no_captions = (bool) apply_filters( 'disable_captions', '' );
    195                                 $plugins = array( 'inlinepopups', 'spellchecker', 'tabfocus', 'paste', 'media', 'fullscreen', 'wordpress', 'wpeditimage', 'wpgallery', 'wplink', 'wpdialogs' );
     195                                $plugins = array( 'inlinepopups', 'tabfocus', 'paste', 'media', 'fullscreen', 'wordpress', 'wpeditimage', 'wpgallery', 'wplink', 'wpdialogs' );
    196196                                $first_run = true;
    197197                                $ext_plugins = '';
    198198