diff --git a/src/wp-includes/rest-api/class-wp-rest-response.php b/src/wp-includes/rest-api/class-wp-rest-response.php index e4bf422ed4..8021c4563c 100644 --- a/src/wp-includes/rest-api/class-wp-rest-response.php +++ b/src/wp-includes/rest-api/class-wp-rest-response.php @@ -260,6 +260,9 @@ class WP_REST_Response extends WP_HTTP_Response { /** * Get the CURIEs (compact URIs) used for relations. * + * @since 4.5.0 + * @access public + * * @return array */ public function get_curies() { @@ -292,6 +295,8 @@ class WP_REST_Response extends WP_HTTP_Response { * full URI relation, however some naive clients may not resolve these * correctly, so adding new CURIEs may break backwards compatibility. * + * @since 4.5.0 + * * @param array $additional Additional CURIEs to register with the API. */ $additional = apply_filters( 'rest_response_link_curies', array() );