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
This commit is contained in:
parent
a04b869652
commit
9fdb970ceb
|
@ -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() );
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue