Twenty Fourteen: clean up PHP braces style in page templates. Closes #26467.
Built from https://develop.svn.wordpress.org/trunk@26761 git-svn-id: http://core.svn.wordpress.org/trunk@26649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e14955f9c5
commit
00d39bd205
|
@ -19,10 +19,10 @@ get_header(); ?>
|
|||
<div id="main-content" class="main-content">
|
||||
|
||||
<?php
|
||||
if ( is_front_page() && twentyfourteen_has_featured_posts() ) :
|
||||
if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
|
||||
// Include the featured content template.
|
||||
get_template_part( 'featured-content' );
|
||||
endif;
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
|
|
|
@ -16,10 +16,10 @@ get_header(); ?>
|
|||
<div id="main-content" class="main-content">
|
||||
|
||||
<?php
|
||||
if ( is_front_page() && twentyfourteen_has_featured_posts() ) :
|
||||
if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
|
||||
// Include the featured content template.
|
||||
get_template_part( 'featured-content' );
|
||||
endif;
|
||||
}
|
||||
?>
|
||||
<div id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
@ -32,9 +32,9 @@ get_header(); ?>
|
|||
get_template_part( 'content', 'page' );
|
||||
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
if ( comments_open() || get_comments_number() ) {
|
||||
comments_template();
|
||||
endif;
|
||||
}
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue