diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index af63f4bb0d..18b08f94dc 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -2311,13 +2311,13 @@ class WP_Theme_JSON { * * @since 6.0.0 * - * @param array $data The data to inspect. - * @param bool|array $path Boolean or path to a boolean. - * @param bool $default Default value if the referenced path is missing. - * Default false. + * @param array $data The data to inspect. + * @param bool|array $path Boolean or path to a boolean. + * @param bool $default_value Default value if the referenced path is missing. + * Default false. * @return bool Value of boolean metadata. */ - protected static function get_metadata_boolean( $data, $path, $default = false ) { + protected static function get_metadata_boolean( $data, $path, $default_value = false ) { if ( is_bool( $path ) ) { return $path; } @@ -2329,7 +2329,7 @@ class WP_Theme_JSON { } } - return $default; + return $default_value; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 91e6d5341c..5eadc21eeb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55128'; +$wp_version = '6.2-alpha-55129'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.