diff --git a/inc/other-widget/widget-profile.php b/inc/other-widget/widget-profile.php index b5b10c61..bab0b88a 100644 --- a/inc/other-widget/widget-profile.php +++ b/inc/other-widget/widget-profile.php @@ -356,9 +356,7 @@ function widget( $args, $instance ) { echo PHP_EOL . '
' . 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'] ); } ?>