[wp-trac] [WordPress Trac] #47353: jquery.masonry.js Not Found
WordPress Trac
noreply at wordpress.org
Tue Jun 8 14:50:33 UTC 2021
#47353: jquery.masonry.js Not Found
------------------------------+-----------------------
Reporter: pondermatic | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.8
Component: Build/Test Tools | Version: 5.2.1
Severity: minor | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------
Changes (by desrosj):
* keywords: => has-patch commit
Comment:
Replying to [comment:6 azaozz]:
> The proper fix seems to be to fix the URL in script-loader.php. WP
doesn't include non-minified version of `jquery-masonry` (the Masonry v2
shim) in the build files.
I agree with this. Because the v2 release is only included as a courtesy
(developers should actually switch to using the `masonry` script handle
instead), hard coding `.min` would fix this error without adding another
unminified file to the release package.
There is also no unminified version of the `masonry` script handle either.
But, this is a somewhat old library (no updates in 3 years), so I don't
think we should add it now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47353#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list