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
This commit is contained in:
Rachel Baker 2016-02-19 23:41:43 +00:00
parent 3ec5b18d40
commit 6779bd5734

View File

@ -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() );