Skip to content

Commit

Permalink
add escape
Browse files Browse the repository at this point in the history
  • Loading branch information
kurudrive committed Jul 29, 2024
1 parent dffea58 commit c2f31cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/other-widget/widget-pr-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function widget( $args, $instance ) {
// title text
echo '<h1 class="prBlock_title">';
if ( isset( $instance[ 'label_' . $i ] ) && $instance[ 'label_' . $i ] ) {
echo $instance[ 'label_' . $i ];
echo wp_kses_post( $instance[ 'label_' . $i ] );
} else {
_e( 'PR Block', 'vk-all-in-one-expansion-unit' );
}
Expand Down

0 comments on commit c2f31cd

Please sign in to comment.