Changes between Initial Version and Version 1 of Ticket #55786
- Timestamp:
- 05/21/2022 06:52:53 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55786
- Property Keywords needs-patch good-first-bug added; has-patch removed
-
Property
Component
changed from
General
toExternal Libraries
-
Ticket #55786 – Description
initial v1 1 -- The line of code 79 of /wp-includes/js/thickbox thickbox.js is:2 1 -- The line of code 79 of /wp-includes/js/thickbox/thickbox.js is: 2 {{{ 3 3 var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; 4 4 }}} 5 5 6 6 -- It should be something like this: 7 7 {{{ 8 8 var urlString = /\.webp|\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; 9 9 }}} 10 10 11 11 ----------------- 12 12 13 13 14 The line of code 82 of /wp-includes/js/thickbox thickbox.js is:15 14 The line of code 82 of /wp-includes/js/thickbox/thickbox.js is: 15 {{{ 16 16 if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images 17 17 }}} 18 18 19 19 -- It should be something like this: 20 20 {{{ 21 21 if(urlType == '.webp' || urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images 22 22 }}} 23 23 24 24 I hope this will help.