diff --git a/wp-includes/block-template.php b/wp-includes/block-template.php index 86e57d6550..affae1c09a 100644 --- a/wp-includes/block-template.php +++ b/wp-includes/block-template.php @@ -100,7 +100,7 @@ function locate_block_template( $template, $type, array $templates ) { } else { if ( $block_template->has_theme_file ) { // Show contents from theme template if user is not logged in. - $theme_template = _get_block_template_file( 'wp_template', $block_template->slug ); + $theme_template = _get_block_template_file( 'wp_template', $block_template->slug ); $_wp_current_template_content = file_get_contents( $theme_template['path'] ); } else { $_wp_current_template_content = $block_template->content; diff --git a/wp-includes/version.php b/wp-includes/version.php index adbe2eb6c7..9c2793d24d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-beta3-60045'; +$wp_version = '6.8-beta3-60046'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.