Themes: Ensure a broken theme name is returned properly.
Props: sstoqnov. git-svn-id: https://develop.svn.wordpress.org/trunk@47950 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9173df8e25
commit
6e0226be12
|
@ -461,7 +461,7 @@ if ( ! is_multisite() && $broken_themes ) {
|
||||||
</tr>
|
</tr>
|
||||||
<?php foreach ( $broken_themes as $broken_theme ) : ?>
|
<?php foreach ( $broken_themes as $broken_theme ) : ?>
|
||||||
<tr>
|
<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>
|
<td><?php echo $broken_theme->errors()->get_error_message(); ?></td>
|
||||||
<?php
|
<?php
|
||||||
if ( $can_resume ) {
|
if ( $can_resume ) {
|
||||||
|
|
Loading…
Reference in New Issue