[wp-trac] [WordPress Trac] #49964: Wrap _WP_Editors#print_tinymce_scripts in a hook

WordPress Trac noreply at wordpress.org
Mon Apr 20 23:02:59 UTC 2020


#49964: Wrap _WP_Editors#print_tinymce_scripts in a hook
----------------------------+------------------------------------------
 Reporter:  sarayourfriend  |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  TinyMCE         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  administration, performance
----------------------------+------------------------------------------

Comment (by sarayourfriend):

 FWIW, the title of this ticket might be better off something like "Add a
 way to prevent TinyMCE scripts from being injected". Wrapping the existing
 logic seemed like the most straightforward way to let Gutenberg override
 the existing behavior to prevent the scripts from loading alongside it.

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


More information about the wp-trac mailing list