diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 87623c69d7..039339edb8 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -8833,7 +8833,11 @@ function clean_dirsize_cache( $path ) { * @return string The current WordPress version. */ function wp_get_wp_version() { - require ABSPATH . WPINC . '/version.php'; + static $wp_version; + + if ( ! isset( $wp_version ) ) { + require ABSPATH . WPINC . '/version.php'; + } return $wp_version; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 605401f421..9e9802c849 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-beta1-59191'; +$wp_version = '6.7-beta1-59192'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.