From 814de88f7aca347c0dd5bf91245f3081b0f9a5c9 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 26 Mar 2014 23:36:42 +0000 Subject: [PATCH] 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 --- src/wp-admin/themes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index 3dd60f11a5..447b4e4e27 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -139,7 +139,7 @@ endif; $ct = wp_get_theme(); if ( $ct->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) { - echo '

' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '

'; + echo '

' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '

'; } /*