Coding Standards: Fix alignment in locate_block_template.

Follow-up to [59449].

See #62053, #62279.


git-svn-id: https://develop.svn.wordpress.org/trunk@60046 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2025-03-18 22:06:21 +00:00
parent 392867ae07
commit 7047a91c0e

View File

@ -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;