From 9fdb970ceb1960e4f128476d6ab68f613f485bb6 Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Fri, 19 Feb 2016 23:42:27 +0000 Subject: [PATCH] Docs: Add missing @since and @access tags to `get_curies` method and filter from r36533 See #34729, #32246. Built from https://develop.svn.wordpress.org/trunk@36593 git-svn-id: http://core.svn.wordpress.org/trunk@36560 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api/class-wp-rest-response.php | 5 +++++ wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-includes/rest-api/class-wp-rest-response.php b/wp-includes/rest-api/class-wp-rest-response.php index e4bf422ed4..8021c4563c 100644 --- a/wp-includes/rest-api/class-wp-rest-response.php +++ b/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() ); diff --git a/wp-includes/version.php b/wp-includes/version.php index a42b8c4417..9acc80ddeb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36592'; +$wp_version = '4.5-alpha-36593'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.