Changes between Initial Version and Version 1 of Ticket #47353, comment 6
- Timestamp:
- 03/22/2021 02:48:43 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47353, comment 6
initial v1 1 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) . Fix would be to replace `$dev_suffix` with `.min` at https://github.com/WordPress/wordpress-develop/blob/master/src/wp-includes/script-loader.php#L842.1 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. Looking at Gruntfile.js not including it seems to have been a decision, not an error. Fix would be to replace `$dev_suffix` with `.min` at https://github.com/WordPress/wordpress-develop/blob/master/src/wp-includes/script-loader.php#L842.