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:
Lance Willett 2013-12-07 00:54:10 +00:00
parent e14955f9c5
commit 00d39bd205
2 changed files with 6 additions and 6 deletions

View File

@ -19,10 +19,10 @@ get_header(); ?>
<div id="main-content" class="main-content"> <div id="main-content" class="main-content">
<?php <?php
if ( is_front_page() && twentyfourteen_has_featured_posts() ) : if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
// Include the featured content template. // Include the featured content template.
get_template_part( 'featured-content' ); get_template_part( 'featured-content' );
endif; }
?> ?>
<div id="primary" class="content-area"> <div id="primary" class="content-area">

View File

@ -16,10 +16,10 @@ get_header(); ?>
<div id="main-content" class="main-content"> <div id="main-content" class="main-content">
<?php <?php
if ( is_front_page() && twentyfourteen_has_featured_posts() ) : if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
// Include the featured content template. // Include the featured content template.
get_template_part( 'featured-content' ); get_template_part( 'featured-content' );
endif; }
?> ?>
<div id="primary" class="content-area"> <div id="primary" class="content-area">
<div id="content" class="site-content" role="main"> <div id="content" class="site-content" role="main">
@ -32,9 +32,9 @@ get_header(); ?>
get_template_part( 'content', 'page' ); get_template_part( 'content', 'page' );
// If comments are open or we have at least one comment, load up the comment template. // 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(); comments_template();
endif; }
endwhile; endwhile;
?> ?>