[cookies_accepted] shortcode
-
First of all thanks for this fantastic and useful plugin.
When the shortcode [cookies_accepted] is used, unfortunately, iframes and some tag attributes are stripped, so that some third-party widgets (facebook, twitter, etc) are not displayed. Why did you use the wp_kses function (inside the public function cookies_shortcode)?
Please replace:
$scripts = html_entity_decode( trim( wp_kses( $content, $allowed_html ) ) );with
$scripts = html_entity_decode( trim( $content) );
The topic ‘[cookies_accepted] shortcode’ is closed to new replies.