From d73879463718393cf9feecf40262876daa04905a Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sat, 25 Dec 2021 11:17:04 +0000 Subject: [PATCH] Docs: Typo correction in `validate_file()` comments. See #53399. Built from https://develop.svn.wordpress.org/trunk@52416 git-svn-id: http://core.svn.wordpress.org/trunk@52008 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index cf85ac88c8..6582845706 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -5900,7 +5900,7 @@ function validate_file( $file, $allowed_files = array() ) { return 1; } - // More than one occurence of `../` is not allowed: + // More than one occurrence of `../` is not allowed: if ( preg_match_all( '#\.\./#', $file, $matches, PREG_SET_ORDER ) && ( count( $matches ) > 1 ) ) { return 1; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5aefbefcde..38bdbcc82d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-beta4-52415'; +$wp_version = '5.9-beta4-52416'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.