- Timestamp:
- 07/22/2022 01:58:46 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r53729 r53760 1120 1120 $response = rest_ensure_response( $data ); 1121 1121 1122 $response->add_links( $this->prepare_links( $comment ) ); 1122 if ( rest_is_field_included( '_links', $fields ) || rest_is_field_included( '_embedded', $fields ) ) { 1123 $response->add_links( $this->prepare_links( $comment ) ); 1124 } 1123 1125 1124 1126 /**
Note: See TracChangeset
for help on using the changeset viewer.