Commit 6ca4b5b04a for wordpress.org
commit 6ca4b5b04afeaf615349dd7d8b9e144cb23df962
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Thu Jan 22 23:16:34 2026 +0000
Docs: Add missing parameter descriptions for `get_cli_args()`.
Follow-up to [14760].
Props rejaulalomkhan, huzaifaalmesbah, westonruter, SergeyBiryukov.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61512
git-svn-id: http://core.svn.wordpress.org/trunk@60823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-admin/includes/class-wp-importer.php b/wp-admin/includes/class-wp-importer.php
index 16b08bf42b..883be2c218 100644
--- a/wp-admin/includes/class-wp-importer.php
+++ b/wp-admin/includes/class-wp-importer.php
@@ -289,9 +289,10 @@ class WP_Importer {
* Returns value of command line params.
* Exits when a required param is not set.
*
- * @param string $param
- * @param bool $required
- * @return mixed
+ * @param string $param The parameter name to retrieve.
+ * @param bool $required Optional. Whether the parameter is required. Default false.
+ * @return string|true|null|never The parameter value or true if found, null otherwise.
+ * The function exits when a required parameter is missing.
*/
function get_cli_args( $param, $required = false ) {
$args = $_SERVER['argv'];
diff --git a/wp-includes/version.php b/wp-includes/version.php
index af5a423f4c..596ac98778 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61511';
+$wp_version = '7.0-alpha-61512';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.