• Resolved hm_u

    (@hm_u)


    Hi
    Thanks for your simple and efficient plugin! I found a small bug: if the description of the image contains a “, it breaks the html code. I suggest this small change in the loop that displays the pictures:

    echo '
    <li><a href="'.$image['link'].'"><img src="'.$image[$size]['url'].'"  alt="'.str_replace('"', '', $image['description']).'" title="'.str_replace('"', '', $image['description']).'"/></a></li>
    ';

    Thanks!
    Manu

    https://wordpress.org/plugins/wp-instagram-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Small bug in alt and title of images’ is closed to new replies.