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.