• Resolved Synaestesia

    (@synaestesia)


    HI,

    this is a very nice plugin, I found a minor issue on displaying the video description. If the descrption string contains a single quote, the escape charachter (“\”) will be displayed in template as well. A very quick fix is to add a stripslashes function in lib/core.php:

    Substitute this (line 1156):

    out .= '<div style="text-align:center;">'.$video->description.'</div>';

    whith:

    out .= '<div style="text-align:center;">'.stripslashes($video->description).'</div>';

    Fabio

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Cool Video Gallery] Quick fix for single quotes’ is closed to new replies.