diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 53bb1049a7..6f142366d3 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -405,7 +405,7 @@ if ( ! is_multisite() && current_user_can( 'edit_themes' ) && $broken_themes ) { - get( 'Name' ) ? $broken_theme->display( 'Name' ) : $broken_theme->get_stylesheet(); ?> + get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ); ?> errors()->get_error_message(); ?>