mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
Docs: Corrections and improvements to inline docs relating to the REST API.
See #50768 git-svn-id: https://develop.svn.wordpress.org/trunk@49610 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -262,7 +262,7 @@ class WP_REST_Response extends WP_HTTP_Response {
|
||||
);
|
||||
|
||||
/**
|
||||
* Filters extra CURIEs available on API responses.
|
||||
* Filters extra CURIEs available on REST API responses.
|
||||
*
|
||||
* CURIEs allow a shortened version of URI relations. This allows a more
|
||||
* usable form for custom relations than using the full URI. These work
|
||||
@@ -284,7 +284,7 @@ class WP_REST_Response extends WP_HTTP_Response {
|
||||
*
|
||||
* @since 4.5.0
|
||||
*
|
||||
* @param array $additional Additional CURIEs to register with the API.
|
||||
* @param array $additional Additional CURIEs to register with the REST API.
|
||||
*/
|
||||
$additional = apply_filters( 'rest_response_link_curies', array() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user