diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 0de80e764d..57478a1170 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1030,7 +1030,7 @@ function do_meta_boxes( $screen, $context, $object ) { $widget_title = $box[ 'title' ]; if ( is_array( $box[ 'args' ] ) && isset( $box[ 'args' ][ '__widget_basename' ] ) ) { - $widget_title = esc_html( $box[ 'args' ][ '__widget_basename' ] ); + $widget_title = $box[ 'args' ][ '__widget_basename' ]; // Do not pass this parameter to the user callback function. unset( $box[ 'args' ][ '__widget_basename' ] ); }