Ticket #49268: 49268.diff
File 49268.diff, 459 bytes (added by , 5 years ago) |
---|
-
wp-admin/themes.php
diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 53bb1049a7..485c7674c3 100644
a b foreach ( $themes as $theme ) : 377 377 <?php 378 378 // List broken themes, if any. 379 379 $broken_themes = wp_get_themes( array( 'errors' => true ) ); 380 if ( ! is_multisite() && current_user_can( 'edit_themes' ) &&$broken_themes ) {380 if ( ! is_multisite() && $broken_themes ) { 381 381 ?> 382 382 383 383 <div class="broken-themes">