Commit 2f7f15bb87 for wordpress.org
commit 2f7f15bb879d9dab517b99787cb817395cca9bc8
Author: audrasjb <audrasjb@git.wordpress.org>
Date: Thu Sep 17 12:42:51 2026 +0000
Docs: Add missing return value in `validate_file()` docblock description.
Props gwendolinep.
Fixes #66127.
See #65860.
Built from https://develop.svn.wordpress.org/trunk@63655
git-svn-id: http://core.svn.wordpress.org/trunk@62829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index 4f5916a322..89d27f75e9 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -6402,6 +6402,8 @@ function iis7_supports_permalinks() {
*
* A return value of `3` means the file is not in the allowed files list.
*
+ * A return value of `0` means no file was provided or processed.
+ *
* Note that absolute POSIX paths such as `/etc/passwd` are *not* rejected, and
* never have been. Callers that must reject them are responsible for their own
* check. The convention in core is to concatenate the validated value onto a
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 33369c7b9b..2beaef91fa 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-63654';
+$wp_version = '7.2-alpha-63655';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.