Skip to content
Permalink
Browse files Browse the repository at this point in the history
Themes: Ensure a broken theme name is returned properly.
Merges [47950] to the 5.4 branch.
Props: sstoqnov.

git-svn-id: https://develop.svn.wordpress.org/branches/5.4@47956 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Jun 10, 2020
1 parent 6ef777e commit 404f397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-admin/themes.php
Expand Up @@ -405,7 +405,7 @@
</tr>
<?php foreach ( $broken_themes as $broken_theme ) : ?>
<tr>
<td><?php echo $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : $broken_theme->get_stylesheet(); ?></td>
<td><?php echo $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ); ?></td>
<td><?php echo $broken_theme->errors()->get_error_message(); ?></td>
<?php
if ( $can_resume ) {
Expand Down

0 comments on commit 404f397

Please sign in to comment.