Skip to content

Commit fbef50b

Browse files
Docs: Update description for some method parameters in WP_REST_Server class.
Follow-up to [47224], [59032]. Props dilipbheda, mukesh27, kirasong, shailu25, khushdoms, welcher, audrasjb, SergeyBiryukov. Fixes #63249. git-svn-id: https://develop.svn.wordpress.org/trunk@61114 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 4cf0fcd commit fbef50b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wp-includes/rest-api/class-wp-rest-server.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,12 +655,11 @@ public static function get_response_links( $response ) {
655655
}
656656

657657
/**
658-
* Gets the target links for a REST API Link.
658+
* Gets the target hints for a REST API Link.
659659
*
660660
* @since 6.7.0
661661
*
662-
* @param array $link
663-
*
662+
* @param array $link The link to get target hints for.
664663
* @return array|null
665664
*/
666665
protected static function get_target_hints_for_link( $link ) {
@@ -764,6 +763,7 @@ public static function get_compact_response_links( $response ) {
764763
*
765764
* @param array $data Data from the request.
766765
* @param bool|string[] $embed Whether to embed all links or a filtered list of link relations.
766+
* Default true.
767767
* @return array {
768768
* Data with sub-requests embedded.
769769
*

0 commit comments

Comments
 (0)