WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47353, comment 6


Ignore:
Timestamp:
03/22/2021 02:48:43 AM (5 months ago)
Author:
azaozz
Comment:

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.
     1The 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.