[Plugin: Shadowbox JS] bug in "Push To Title"
-
I found a bug in shadowbox-title-push.php.
If I set an outside URL for a picture to link to, the picture disappears.
I hunted it to a bad quotemark in these two lines in the PHP file:$anchor_title_pattern = '%<a[^>]+title=[\'"].*?[\'"][^>]+?>%'; $img_title_pattern = '%<img[^>]+(title=[\'"].*?[\'"])[^>]+?>%';I changed it thus, and now it works:
$anchor_title_pattern = '%<a [^>]+title=".*?"[^>]+?>%'; $img_title_pattern = '%<img [^>]+(title=".*?")[^>]+?>%';
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘[Plugin: Shadowbox JS] bug in "Push To Title"’ is closed to new replies.