- Timestamp:
- 07/09/2024 01:51:12 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r58408 r58694 202 202 $status = $request['status']; 203 203 204 foreach ( $active_themes as $theme _name => $theme) {204 foreach ( $active_themes as $theme ) { 205 205 $theme_status = ( $this->is_same_theme( $theme, $current_theme ) ) ? 'active' : 'inactive'; 206 206 if ( is_array( $status ) && ! in_array( $theme_status, $status, true ) ) {
Note: See TracChangeset
for help on using the changeset viewer.