mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
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
This commit is contained in:
parent
6ef777e9a0
commit
404f397b40
@ -405,7 +405,7 @@ if ( ! is_multisite() && current_user_can( 'edit_themes' ) && $broken_themes ) {
|
||||
</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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user