[wp-trac] [WordPress Trac] #59991: Included imagesLoaded libary broken
WordPress Trac
noreply at wordpress.org
Mon Dec 4 15:58:33 UTC 2023
#59991: Included imagesLoaded libary broken
--------------------------------+-------------------------
Reporter: physalis | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5
Component: External Libraries | Version: 6.4
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
--------------------------------+-------------------------
Comment (by physalis):
Replying to [comment:5 adamsilverstein]:
Ah, you're right, I could have sworn the packaged file was different from
the version I then downloaded from the creator of the script. Just by
switching to the file (from the link you posted above) in my theme made my
script work again. Before 6.4.x it was working fine.
> Ok, that sounds like a bit of a challenge! Do you have a live site or
demo plugin that reproduces the issue?
>
Well, it's a live site, so if you could just ping me when you could
identify the issue, I'd love to revert it back to a functioning version :)
. Just see [https://www.zukunft-des-engagements.de/veranstaltungen-
ergebnisse/ here]. If you replace the URL for imagesLoaded to https://www
.zukunft-des-engagements.de/wp-
content/themes/nes/js/imagesloaded.pkgd.min.js, the masonry block is
working again.
Just for explanation: It's a custom block that uses imagesloaded and
masonry, loading both scripts through the viewScript line in block.json:
{{{
"viewScript": [ "nes-accordion", "imagesloaded", "masonry", "nes-
eventfeedback" ]
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59991#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list