Changeset 52750 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php
- Timestamp:
- 02/17/2022 01:46:27 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php
r52399 r52750 564 564 565 565 if ( rest_is_field_included( 'styles', $fields ) ) { 566 $data['styles'] = $theme->get_raw_data()['styles']; 566 $raw_data = $theme->get_raw_data(); 567 if ( isset( $raw_data['styles'] ) ) { 568 $data['styles'] = $raw_data['styles']; 569 } 567 570 } 568 571
Note: See TracChangeset
for help on using the changeset viewer.