Changeset 54288 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
- Timestamp:
- 09/22/2022 11:31:35 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
r54273 r54288 199 199 } 200 200 201 if ( rest_is_field_included( 'h ierarchical', $fields ) ) {201 if ( rest_is_field_included( 'has_archive', $fields ) ) { 202 202 $data['has_archive'] = $post_type->has_archive; 203 203 }
Note: See TracChangeset
for help on using the changeset viewer.