[wp-trac] [WordPress Trac] #45645: Retire wp-tinymce.php

WordPress Trac noreply at wordpress.org
Fri Dec 14 17:42:49 UTC 2018


#45645: Retire wp-tinymce.php
--------------------------+---------------------
 Reporter:  azaozz        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.1
Component:  TinyMCE       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Description changed by azaozz:

Old description:

> The method of loading TinyMCE was added many years ago. All TinyMCE
> scripts are concatenated and per-compressed, then we point the script tag
> to `wp-tinymce.php` where we determine if the browser supports
> compression, add the appropriate headers and output the actual `wp-
> tinymce.js.gz`.
>
> This, indeed, is the fastest way to load a lot of JS without relying on
> the server to compress it. However lately been seeing more and more
> reports of that file being blocked by some security measures. Also,
> nearly all servers compress .js and .css files now.

New description:

 The method of loading TinyMCE was added many years ago. All TinyMCE
 scripts are concatenated and pre-compressed, then we point the script tag
 src to `wp-tinymce.php` where we determine if the browser supports
 compression, add the appropriate headers and output the actual `wp-
 tinymce.js.gz`.

 This, indeed, is the fastest way to load a lot of JS without relying on
 the server to compress it. However lately been seeing more and more
 reports of that file being blocked by some security measures. Also, nearly
 all servers compress .js and .css files now.

--

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


More information about the wp-trac mailing list