Make WordPress Core

Ticket #48441: class-wp-editor.diff

File class-wp-editor.diff, 546 bytes (added by djp424, 7 years ago)

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

  • class-wp-editor.php

     
    436436                                         *
    437437                                         * @param array $plugins An array of default TinyMCE plugins.
    438438                                         */
    439                                         $plugins = array_unique( apply_filters( 'tiny_mce_plugins', $plugins ) );
     439                                        $plugins = array_unique( apply_filters( 'tiny_mce_plugins', $plugins, 'classic-block' ) );
    440440
    441441                                        $key = array_search( 'spellchecker', $plugins );
    442442                                        if ( false !== $key ) {