Themes: Ensure a broken theme name is returned properly.
Follow-up to [47966] for the 3.9 branch. Built from https://develop.svn.wordpress.org/branches/3.9@47979 git-svn-id: http://core.svn.wordpress.org/branches/3.9@47748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6965572495
commit
c7feb3f848
|
@ -251,7 +251,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>";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue