Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/content-quote.php

    r45932 r47122  
    2727                </header><!-- .entry-header -->
    2828
    29                 <?php if ( is_search() ) : // Only display Excerpts for Search ?>
     29                <?php if ( is_search() ) : // Only display excerpts for search. ?>
    3030                <div class="entry-summary">
    3131                        <?php the_excerpt(); ?>
    … …  
    5959                                ?>
    6060                        </span>
    61                         <?php endif; // End if categories ?>
     61                        <?php endif; // End if categories. ?>
    6262                        <?php
    6363                                /* translators: Used between list items, there is a space after the comma. */
    … …  
    6767                                        ?>
    6868                        <span class="sep"> | </span>
    69                                 <?php endif; // End if $show_sep ?>
     69                                <?php endif; // End if $show_sep. ?>
    7070                        <span class="tag-links">
    7171                                <?php
    … …  
    7575                                ?>
    7676                        </span>
    77                         <?php endif; // End if $tags_list ?>
     77                        <?php endif; // End if $tags_list. ?>
    7878
    7979                        <?php if ( comments_open() ) : ?>
    8080                                <?php if ( $show_sep ) : ?>
    8181                        <span class="sep"> | </span>
    82                         <?php endif; // End if $show_sep ?>
     82                        <?php endif; // End if $show_sep. ?>
    8383                        <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
    84                         <?php endif; // End if comments_open() ?>
     84                        <?php endif; // End if comments_open(). ?>
    8585
    8686                        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
Note: See TracChangeset for help on using the changeset viewer.