Make WordPress Core


Ignore:
Timestamp:
12/03/2013 05:05:53 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837.

File:
1 edited

Legend:

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

    r26260 r26556  
    44 *
    55 * This is the template that displays all pages by default.
    6  * Please note that this is the WordPress construct of pages and that other 'pages'
    7  * on your WordPress site will use a different template.
     6 * Please note that this is the WordPress construct of pages and that
     7 * other 'pages' on your WordPress site will use a different template.
    88 *
    99 * @package WordPress
     
    1717
    1818<?php
    19     if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
     19    if ( is_front_page() && twentyfourteen_has_featured_posts() ) :\
     20        // Include the featured content template.
    2021        get_template_part( 'featured-content' );
    21     }
     22    endif;
    2223?>
    2324    <div id="primary" class="content-area">
     
    2526
    2627            <?php
    27                 while ( have_posts() ) :
    28                     the_post();
     28                // Start the Loop.
     29                while ( have_posts() ) : the_post();
    2930
     31                    // Include the page content template.
    3032                    get_template_part( 'content', 'page' );
    3133
    3234                    // If comments are open or we have at least one comment, load up the comment template.
    33                     if ( comments_open() || get_comments_number() ) {
     35                    if ( comments_open() || get_comments_number() ) :
    3436                        comments_template();
    35                     }
     37                    endif;
    3638                endwhile;
    3739            ?>
Note: See TracChangeset for help on using the changeset viewer.