Commit 2d72e07779 for wordpress.org
commit 2d72e07779964f4979a3701297c7b24618ecf993
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Mon Nov 3 16:49:39 2025 +0000
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.
Built from https://develop.svn.wordpress.org/trunk@61114
git-svn-id: http://core.svn.wordpress.org/trunk@60450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php
index dd7c81a4fd..2de256113a 100644
--- a/wp-includes/rest-api/class-wp-rest-server.php
+++ b/wp-includes/rest-api/class-wp-rest-server.php
@@ -655,12 +655,11 @@ class WP_REST_Server {
}
/**
- * Gets the target links for a REST API Link.
+ * Gets the target hints for a REST API Link.
*
* @since 6.7.0
*
- * @param array $link
- *
+ * @param array $link The link to get target hints for.
* @return array|null
*/
protected static function get_target_hints_for_link( $link ) {
@@ -764,6 +763,7 @@ class WP_REST_Server {
*
* @param array $data Data from the request.
* @param bool|string[] $embed Whether to embed all links or a filtered list of link relations.
+ * Default true.
* @return array {
* Data with sub-requests embedded.
*
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 2b8677bec8..bf1238e845 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.9-beta2-61113';
+$wp_version = '6.9-beta2-61114';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.