Changeset 50694
- Timestamp:
- 04/09/2021 11:47:46 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r49969 r50694 304 304 } 305 305 306 /* 307 // Certain error codes are less fatal than others. We can still display theme information in most cases. 308 if ( ! $ct->errors() || ( 1 === count( $ct->errors()->get_error_codes() ) 309 && in_array( $ct->errors()->get_error_code(), array( 'theme_no_parent', 'theme_parent_invalid', 'theme_no_index' ) ) ) ) : ?> 310 */ 311 312 // Pretend you didn't see this. 313 $current_theme_actions = array(); 306 $current_theme_actions = array(); 307 314 308 if ( is_array( $submenu ) && isset( $submenu['themes.php'] ) ) { 315 309 foreach ( (array) $submenu['themes.php'] as $item ) { … … 355 349 } 356 350 357 ?>358 359 <?php360 351 $class_name = 'theme-browser'; 361 352 if ( ! empty( $_GET['search'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.