[wp-trac] [WordPress Trac] #55786: Thickbox gallery does not recognize webp images
WordPress Trac
noreply at wordpress.org
Sat May 28 08:20:53 UTC 2022
#55786: Thickbox gallery does not recognize webp images
--------------------------------------+-------------------------
Reporter: ilunabar | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: External Libraries | Version: 5.9.3
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: javascript
--------------------------------------+-------------------------
Changes (by mukesh27):
* keywords: good-first-bug has-patch needs-testing => good-first-bug has-
patch
Comment:
Hi there!
PR working fine for me in the 6.1-alpha-53449 version.
Small concern regarding changes. For consistency of image format can we
add `$` in webp format also?
`var urlString = /\.webp|\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;`
Should be
`var urlString = /\.webp$|\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55786#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list