• vladax

    (@vladax)


    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.

    http://ww.wp.xz.cn/extend/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Thread Starter vladax

    (@vladax)

    The title of this topic should be:

    Space in <a title=" " makes incompatibility with Easy FancyBox

Viewing 1 replies (of 1 total)

The topic ‘Space in’ is closed to new replies.