diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2020-06-10 18:51:33 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2020-06-10 18:51:33 +0000 |
commit | 01f6842c5316eaf4a2688b116f60eb47d1e02816 (patch) | |
tree | 9b47a65397161d8b0f6324fbcf5216a211221e89 | |
parent | 6e08e2f4afcca696a2d686dc1bc29467a9994a9c (diff) | |
download | wordpress-01f6842c5316eaf4a2688b116f60eb47d1e02816.tar.gz wordpress-01f6842c5316eaf4a2688b116f60eb47d1e02816.zip |
Themes: Ensure a broken theme name is returned properly.
Follow-up to [47968] for the 4.0 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/4.0@47981 602fd350-edb4-49c9-b593-d223f7449a82
-rw-r--r-- | src/wp-admin/themes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index 6d3ef5afa7..662039c008 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -255,7 +255,7 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_ foreach ( $broken_themes as $broken_theme ) { echo " <tr> - <td><?php echo $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ); ?></td> + <td>" . ( $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ) ) . "</td> <td>" . $broken_theme->errors()->get_error_message() . "</td> </tr>"; } |