Ticket #20364: 20364.diff
| File 20364.diff, 524 bytes (added by westi, 14 months ago) |
|---|
-
dashboard.php
364 364 365 365 echo "\n\t<p>"; 366 366 367 if ( $theme->errors() ) {367 if ( !$theme || $theme->errors() ) { 368 368 if ( ! is_multisite() || is_super_admin() ) 369 369 echo '<span class="error-message">' . __('ERROR: The themes directory is either empty or doesn’t exist. Please check your installation.') . '</span>'; 370 370 } elseif ( ! empty($wp_registered_sidebars) ) {
