From 6779bd57348e23685438180bc2e7c3d81186f1b4 Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Fri, 19 Feb 2016 23:41:43 +0000 Subject: [PATCH] Docs: Add missing @since and @access tags to `get_curies` method and filter from r36533 See #34729, #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36593 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/rest-api/class-wp-rest-response.php | 5 +++++ 1 file changed, 5 insertions(+) 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() );