mirror of
git://develop.git.wordpress.org/
synced 2025-03-24 05:49:49 +01:00
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:
parent
392867ae07
commit
7047a91c0e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user