Themes screen: Use a normal error for WP_Theme errors.
see #27235 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@27760 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4b21dcc825
commit
814de88f7a
|
@ -139,7 +139,7 @@ endif;
|
|||
$ct = wp_get_theme();
|
||||
|
||||
if ( $ct->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) {
|
||||
echo '<p class="error-message">' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '</p>';
|
||||
echo '<div class="error"><p>' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '</p></div>';
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue