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 c2f31cd commit 73bb9b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions inc/other-widget/widget-profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,7 @@ function widget( $args, $instance ) {
echo PHP_EOL . '<div class="veu_profile">' . PHP_EOL;

if ( isset( $instance['label'] ) && $instance['label'] ) {
echo $args['before_title'];
echo $instance['label'];
echo $args['after_title'];
echo wp_kses_post( $args['before_title'] . $instance['label'] . $args['after_title'] );
}
?>
<div class="profile" >
Expand Down

0 comments on commit 73bb9b1

Please sign in to comment.