[wp-trac] [WordPress Trac] #45150: Account for improper use of the TinyMCE init array filters

WordPress Trac noreply at wordpress.org
Tue Oct 23 10:49:37 UTC 2018


#45150: Account for improper use of the TinyMCE init array filters
--------------------------+---------------------
 Reporter:  azaozz        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.0
Component:  TinyMCE       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Description changed by azaozz:

Old description:

> Follow up from https://github.com/WordPress/gutenberg/issues/10929.
>
> In plugins when any of the TinyMCE init array filters
> (`'mce_external_plugins'`, `'tiny_mce_plugins'`, `'mce_buttons'`,
> `'mce_buttons_2'`, etc.) are used to output content, that content may
> appear at random location, or even be outputted before HTML headers are
> sent and cause PHP warnings.

New description:

 In plugins when any of the TinyMCE init array filters
 (`'mce_external_plugins'`, `'tiny_mce_plugins'`, `'mce_buttons'`,
 `'mce_buttons_2'`, etc.) are used to output content, that content may
 appear at random location, or even be outputted before HTML headers are
 sent and cause PHP warnings.

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45150#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list