[wp-trac] [WordPress Trac] #47353: jquery.masonry.js Not Found

WordPress Trac noreply at wordpress.org
Mon Mar 22 02:42:10 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:                    |     Focuses:
------------------------------+-----------------------
Changes (by azaozz):

 * keywords:  has-patch =>


Comment:

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47353#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list