Ticket #25465: wrong_logic.patch
File wrong_logic.patch, 765 bytes (added by , 11 years ago) |
---|
-
wp-admin/includes/class-wp-ms-themes-list-table.php
317 317 case 'description': 318 318 echo "<td class='column-description desc'$style>"; 319 319 if ( $theme->errors() ) { 320 $pre = $status == 'broken' ? '' : __( 'Broken Theme:' ) . '';320 $pre = $status == 'broken' ? __( 'Broken Theme:' ) . ' ' : ''; 321 321 echo '<p><strong class="attention">' . $pre . $theme->errors()->get_error_message() . '</strong></p>'; 322 322 } 323 323 echo "<div class='theme-description'><p>" . $theme->display( 'Description' ) . "</p></div>