Introduce yourself here! In order to avoid spam, new users must first comment on the discussion in the 'Introductions' before they become 'full members'
BBCode plugin: quotes aren't escaped in img tag
  • Hi, there is a small bug in BBCode plugin.

    Quotes should be escaped in $title and $alt.
    The bug can be solved adding true as second paramter of wp_specialchars on lines 218 and 219. that become:



    					$title = @$iptc["2#005"][0]? wp_specialchars($iptc["2#005"][0], true) : $title;
    $alt = isset($iptc["2#120"][0])? wp_specialchars($iptc["2#120"][0],1, true) : $title;
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!