Welcome to the archive of the old FlatPress support forum. Browse more than a decade of FlatPress wisdom! Login is disabled.

The current FlatPress support forum is available here: forum.flatpress.org
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!