[wp-trac] [WordPress Trac] #61862: Redundant code and potential inaccurate check in script-loader.php
WordPress Trac
noreply at wordpress.org
Thu Aug 15 14:56:59 UTC 2024
#61862: Redundant code and potential inaccurate check in script-loader.php
---------------------------+-----------------------------
Reporter: MattyRob | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Script Loader | Version: 5.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
---------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"58902" 58902]:
{{{
#!CommitTicketReference repository="" revision="58902"
Script Loader: Remove redundant check in `wp_register_tinymce_scripts()`.
Since removing the build steps for a gzipped version of TinyMCE, the check
whether gzip is supported on the server is superfluous. It may also result
in the uncompressed files being used when the compressed files are
available and could be used.
Follow-up to [44114], [44651].
Props MattyRob, hbhalodia.
Fixes #61862.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61862#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list