Skip to content

Commit

Permalink
Don't escape the widget's output
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Nov 13, 2017
1 parent 8f41655 commit e694ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-ad-layers-widget.php
Expand Up @@ -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'];
}

/**
Expand Down

0 comments on commit e694ac9

Please sign in to comment.