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-gallery.php

    r45932 r47122  
    2525        </header><!-- .entry-header -->
    2626
    27         <?php if ( is_search() ) : // Only display Excerpts for search pages ?>
     27        <?php if ( is_search() ) : // Only display excerpts for search. ?>
    2828                <div class="entry-summary">
    2929                        <?php the_excerpt(); ?>
    … …  
    5555                                        ?>
    5656                                        </em></p>
    57                                                 <?php endif; // end twentyeleven_get_gallery_images() check ?>
     57                                                <?php endif; // End twentyeleven_get_gallery_images() check. ?>
    5858                                <?php the_excerpt(); ?>
    5959                <?php endif; ?>
    … …  
    8383                        ?>
    8484                </span>
    85                 <?php endif; // End if categories ?>
     85                <?php endif; // End if categories. ?>
    8686                <?php
    8787                        /* translators: Used between list items, there is a space after the comma. */
    … …  
    9191                                ?>
    9292                <span class="sep"> | </span>
    93                         <?php endif; // End if $show_sep ?>
     93                        <?php endif; // End if $show_sep. ?>
    9494                <span class="tag-links">
    9595                        <?php
    … …  
    9999                        ?>
    100100                </span>
    101                 <?php endif; // End if $tags_list ?>
     101                <?php endif; // End if $tags_list. ?>
    102102
    103103                <?php if ( comments_open() ) : ?>
    104104                        <?php if ( $show_sep ) : ?>
    105105                <span class="sep"> | </span>
    106                 <?php endif; // End if $show_sep ?>
     106                <?php endif; // End if $show_sep. ?>
    107107                <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>
    108                 <?php endif; // End if comments_open() ?>
     108                <?php endif; // End if comments_open(). ?>
    109109
    110110                <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
Note: See TracChangeset for help on using the changeset viewer.