From 2564c74a571326a1232ecae46223da9c5b1b5238 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 6 Nov 2013 22:39:35 +0000 Subject: [PATCH] Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465. git-svn-id: https://develop.svn.wordpress.org/trunk@26027 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-ms-themes-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php index 73045dbfc5..3239778c48 100644 --- a/src/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -317,7 +317,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table { case 'description': echo ""; if ( $theme->errors() ) { - $pre = $status == 'broken' ? '' : __( 'Broken Theme:' ) . ' '; + $pre = $status == 'broken' ? __( 'Broken Theme:' ) . ' ' : ''; echo '

' . $pre . $theme->errors()->get_error_message() . '

'; } echo "

" . $theme->display( 'Description' ) . "