Make WordPress Core

Changeset 26761


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.

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
2 edited

Legend:

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

    r26556 r26761  
    2020
    2121<?php
    22     if ( is_front_page() && twentyfourteen_has_featured_posts() ) :
     22    if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
    2323        // Include the featured content template.
    2424        get_template_part( 'featured-content' );
    25     endif;
     25    }
    2626?>
    2727
  • 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.