Captions Beneath Lightbox Broken
-
Today we updated the plugin for some client sites and the caption text beneath each lightbox has content stripped out of it. We’ve tested this on a vanilla WordPress install and can replicate it there as well. Here are the steps to replicate the problem:
- Create a WordPress gallery and add in the caption “$20,000 and up: <br>25th Anniversary Plunge Cornhole Set and 10 x 10 Tent”
- Set up the plugin to open the gallery images in FancyBox.
- Load the page and click the image to open the lightbox. You’ll see the text shows as “,000 and up: 25th Anniversary Plunge Cornhole Set and 10 x 10 Tent” where “$20” and the break tag have both been removed.
We were able to replicate this for a number of captions where the captions had dollar signs in them. It looks like the issue is caused within the lightbox_gallery_link() method on line 339 of class-frontend.php.
Is there anything we can do to fix this problem? Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Captions Beneath Lightbox Broken’ is closed to new replies.