WordPress.org

Make WordPress Core

Ticket #21962: 21962.patch

File 21962.patch, 823 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/class-wp-editor.php

     
    410410                                $mceInit = array_merge($mceInit, $set['tinymce']);
    411411
    412412                        // For people who really REALLY know what they're doing with TinyMCE
    413                         // You can modify initArray to add, remove, change elements of the config before tinyMCE.init
     413                        // You can modify $mceInit to add, remove, change elements of the config before tinyMCE.init
    414414                        // Setting "valid_elements", "invalid_elements" and "extended_valid_elements" can be done through this filter.
    415415                        // Best is to use the default cleanup by not specifying valid_elements, as TinyMCE contains full set of XHTML 1.0.
    416416                        if ( $set['teeny'] ) {