Commit 4b90b64c70 for wordpress.org
commit 4b90b64c70b8dd9c65ab67bb93fd823ed80f4ed1
Author: SergeyBiryukov <sergeybiryukov@git.wordpress.org>
Date: Fri Oct 9 23:09:52 2026 +0000
Docs: Use lowercase for native PHP types in `@param` and `@return` tags.
Per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/ inline documentation standards], native PHP types should be written in lowercase. This commit fixes the two remaining capitalized native types in `@param` and `@return` tags in core.
Developed in https://github.com/WordPress/wordpress-develop/pull/13845.
Props Soean.
See #65860.
Built from https://develop.svn.wordpress.org/trunk@64261
git-svn-id: http://core.svn.wordpress.org/trunk@63411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php
index 56c8585d72..0f4e85ae80 100644
--- a/wp-includes/class-wp-term-query.php
+++ b/wp-includes/class-wp-term-query.php
@@ -1136,7 +1136,7 @@ class WP_Term_Query {
*
* @since 4.9.8
*
- * @param Object[]|int[] $terms List of objects or term ids.
+ * @param object[]|int[] $terms List of objects or term ids.
* @return WP_Term[] Array of `WP_Term` objects.
*/
protected function populate_terms( $terms ) {
diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php
index c5d4e89e5e..32f628a99e 100644
--- a/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php
+++ b/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php
@@ -123,7 +123,7 @@ class WP_REST_Global_Styles_Revisions_Controller extends WP_REST_Revisions_Contr
* @since 6.3.0
*
* @param string $raw_json Encoded JSON from global styles custom post content.
- * @return Array|WP_Error
+ * @return array|WP_Error
*/
protected function get_decoded_global_styles_json( $raw_json ) {
$decoded_json = json_decode( $raw_json, true );
diff --git a/wp-includes/version.php b/wp-includes/version.php
index b644b30ee2..829eb0b386 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-64260';
+$wp_version = '7.2-alpha-64261';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.