diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index 3abc3142e9..cf20a706e5 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -373,18 +373,18 @@ class WP_Theme_JSON_Resolver { /** * When given an array, this will remove any keys with the name `//`. * - * @param array $array The array to filter. + * @param array $input_array The array to filter. * @return array The filtered array. */ - private static function remove_json_comments( $array ) { - unset( $array['//'] ); - foreach ( $array as $k => $v ) { + private static function remove_json_comments( $input_array ) { + unset( $input_array['//'] ); + foreach ( $input_array as $k => $v ) { if ( is_array( $v ) ) { - $array[ $k ] = static::remove_json_comments( $v ); + $input_array[ $k ] = static::remove_json_comments( $v ); } } - return $array; + return $input_array; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 2a7cf81a8e..36527c71dd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55126'; +$wp_version = '6.2-alpha-55127'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.