From e694ac9a25765f8687dbf0a137c55b58918e44ed Mon Sep 17 00:00:00 2001 From: Sean Fisher Date: Mon, 13 Nov 2017 13:56:31 -0500 Subject: [PATCH] Don't escape the widget's output --- php/class-ad-layers-widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/class-ad-layers-widget.php b/php/class-ad-layers-widget.php index 59cf7c5..ea61eec 100644 --- a/php/class-ad-layers-widget.php +++ b/php/class-ad-layers-widget.php @@ -47,7 +47,7 @@ public function widget( $args, $instance ) { } // Display the ad unit - echo wp_kses_post( $args['before_widget'] . $ad_unit_html . $args['after_widget'] ); + echo $args['before_widget'] . $ad_unit_html . $args['after_widget']; } /**