Space in
-
Hi.
This line of code in nggfunctions.php adds a space to the title attribute in links for pictures without description:
$picture->linktitle = ( empty($picture->description) ) ? ' ' : htmlspecialchars ( stripslashes(nggGallery::i18n($picture->description, 'pic_' . $picture->pid . '_description')) );When using NGG with Easy FancyBox plugin the fancybox script will recognize the space as a valid picture title and displays an empty title box instead of hiding the title box.
I see no reason to have a link tag with a title=” ” attribute. Beside the fact that it’s not really accessibility friendly.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Space in’ is closed to new replies.