Twenty Fourteen: clean up PHP braces style in page templates. Closes #26467.

git-svn-id: https://develop.svn.wordpress.org/trunk@26761 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-12-07 00:53:33 +00:00
parent 7fb7214d54
commit 77537cae6a
2 changed files with 6 additions and 6 deletions

View File

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

View File

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