[wp-trac] [WordPress Trac] #42229: mediaelement script always loads the minified version
WordPress Trac
noreply at wordpress.org
Sun Oct 15 18:57:12 UTC 2017
#42229: mediaelement script always loads the minified version
---------------------------+----------------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Script Loader | Version:
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: |
---------------------------+----------------------------------------
When enqueing `mediaelement`, the minified file `mediaelement-and-
player.min.js` is always enqueued, rather than the version with the
correct value for `$suffix` in its name according to `SCRIPT_DEBUG`.
Ref: https://core.trac.wordpress.org/browser/trunk/src/wp-includes/script-
loader.php?rev=41844&marks=355#L354
Dynamic `$suffix` removed in [23968] and fixed `.min` suffix introduced in
[24786].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42229>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list