Make WordPress Core


Ignore:
Timestamp:
12/07/2013 12:53:33 AM (11 years ago)
Author:
lancewillett
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/page.php

    r26757 r26761  
    1717
    1818<?php
    19     if ( is_front_page() && twentyfourteen_has_featured_posts() ) :
     19    if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
    2020        // Include the featured content template.
    2121        get_template_part( 'featured-content' );
    22     endif;
     22    }
    2323?>
    2424    <div id="primary" class="content-area">
     
    3333
    3434                    // If comments are open or we have at least one comment, load up the comment template.
    35                     if ( comments_open() || get_comments_number() ) :
     35                    if ( comments_open() || get_comments_number() ) {
    3636                        comments_template();
    37                     endif;
     37                    }
    3838                endwhile;
    3939            ?>
Note: See TracChangeset for help on using the changeset viewer.