Changeset 45583 for trunk/src/wp-admin/themes.php
- Timestamp:
- 07/01/2019 12:50:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r45140 r45583 269 269 } 270 270 271 if ( false !== ( $pos = strpos( $menu_file, '?' ) ) ) { 271 $pos = strpos( $menu_file, '?' ); 272 if ( false !== $pos ) { 272 273 $menu_file = substr( $menu_file, 0, $pos ); 273 274 } … … 369 370 <?php 370 371 // List broken themes, if any. 371 if ( ! is_multisite() && current_user_can( 'edit_themes' ) && $broken_themes = wp_get_themes( array( 'errors' => true ) ) ) { 372 $broken_themes = wp_get_themes( array( 'errors' => true ) ); 373 if ( ! is_multisite() && current_user_can( 'edit_themes' ) && $broken_themes ) { 372 374 ?> 373 375
Note: See TracChangeset
for help on using the changeset viewer.