[Plugin: FancyBox for WordPress] Fancybox false positives
-
Fancybox fires on such urls as https://play.google.com/store/apps/details?id=com.goanyware.tgif due to the “gif” in the ending. However, there’s no . before the extension, so the following patch fixes this issue and should be incorporated into the core:
In fancybox.php, the line that starts with:
// Supported file extensions var thumbnails = jQuery("a:has(img)")should have this added to the return statement:
\.Here is what the return part should look like:
return /\.(jpe?g|png|gif|bmp)$/i
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: FancyBox for WordPress] Fancybox false positives’ is closed to new replies.