Commit 6d7766478e for wordpress.org
commit 6d7766478e19b25ff17736cd9378ddb27ccbcfa8
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Sat Nov 1 22:52:34 2025 +0000
Docs: Correct `@return` type for `WP_REST_Response::remove_link()`.
Follow-up to [34928].
Props dilipbheda, mukesh27, kirasong, shailu25, khushdoms, welcher, audrasjb, SergeyBiryukov.
See #63249.
Built from https://develop.svn.wordpress.org/trunk@61112
git-svn-id: http://core.svn.wordpress.org/trunk@60448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/rest-api/class-wp-rest-response.php b/wp-includes/rest-api/class-wp-rest-response.php
index 0861d190d0..ddb1fb27f4 100644
--- a/wp-includes/rest-api/class-wp-rest-response.php
+++ b/wp-includes/rest-api/class-wp-rest-response.php
@@ -76,9 +76,9 @@ class WP_REST_Response extends WP_HTTP_Response {
*
* @since 4.4.0
*
- * @param string $rel Link relation. Either an IANA registered type, or an absolute URL.
- * @param string $href Optional. Only remove links for the relation matching the given href.
- * Default null.
+ * @param string $rel Link relation. Either an IANA registered type, or an absolute URL.
+ * @param string|null $href Optional. Only remove links for the relation matching the given href.
+ * Default null.
*/
public function remove_link( $rel, $href = null ) {
if ( ! isset( $this->links[ $rel ] ) ) {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 42a0110982..595a878e4a 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.9-beta2-61111';
+$wp_version = '6.9-beta2-61112';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.