[Plugin: Lightbox Plus] Printing PHP 5.x HTML comment in post code
-
Lightbox Plus is echo-ing a
<!-- PHP 5.x -->
code in the content of the posts. Usually it should not have any effect as it’s a HTML comment, but as I’m also printing other pieces of code, it’s interfering my code.This is one example of interference:
<div class="flickr"><img src="https://localhost/porttricoultau/wp-content/themes/ppt/timthumb.php?src=https://farm6.static.flickr.com/5050/5321877603_9dc2890a8c_b.jpg <!-- PHP 5.x -->&h=281&w=342&zc=1&q=100&siteName=devsally" alt="Port tricoul tau Nume sponsor srl"/></div><div class="flickr"><img src="https://localhost/porttricoultau/wp-content/themes/ppt/timthumb.php?src=https://farm6.static.flickr.com/5162/5322480386_a4a0257151_b.jpg <!-- PHP 5.x -->&h=281&w=342&zc=1&q=100&siteName=devsally" alt="Port tricoul tau Nume sponsor srl"/></div>
As you can see, it’s printing
<!-- PHP 5.x -->
in my TimThumb image link and it’s not the effect I would expect.I don’t really understand why you used that echo in line 148 of filter.class.php of Lightbox Plus, but I would suggest to remove it from the following releases.
Thanks,
Florin
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Lightbox Plus] Printing PHP 5.x HTML comment in post code’ is closed to new replies.