Commit f0f0173e40 for wordpress.org
commit f0f0173e405ea4ccdad782069ad11d525cf66c24
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Tue Mar 28 10:56:23 2023 +0000
Docs: Use typed array notation for `search_columns` in `WP_Query::parse_query()`.
Follow-up to [55248].
Props tmatsuur.
Fixes #57996.
Built from https://develop.svn.wordpress.org/trunk@55597
git-svn-id: http://core.svn.wordpress.org/trunk@55109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php
index 94512908bf..02baa6d1f1 100644
--- a/wp-includes/class-wp-query.php
+++ b/wp-includes/class-wp-query.php
@@ -752,7 +752,7 @@ class WP_Query {
* return posts containing 'pillow' but not 'sofa'. The
* character used for exclusion can be modified using the
* the 'wp_query_search_exclusion_prefix' filter.
- * @type array $search_columns Array of column names to be searched. Accepts 'post_title',
+ * @type string[] $search_columns Array of column names to be searched. Accepts 'post_title',
* 'post_excerpt' and 'post_content'. Default empty array.
* @type int $second Second of the minute. Default empty. Accepts numbers 0-59.
* @type bool $sentence Whether to search by phrase. Default false.
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 180c369bb2..083635c7a1 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.3-alpha-55596';
+$wp_version = '6.3-alpha-55597';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.