Make WordPress Core

Ticket #13198: twentyten-coding-standard-spacing-comment-loop.php.patch

File twentyten-coding-standard-spacing-comment-loop.php.patch, 1.8 KB (added by zeo, 15 years ago)

Coding standard? Add some space to comment in file: loop.php

  • wp-content/themes/twentyten/loop.php

     
    8585<?php /* How to display posts in the asides category */ ?>
    8686        <?php elseif ( in_category( 'asides' ) ) : ?>
    8787                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    88         <?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives & search ?>
     88        <?php if ( is_archive() || is_search() ) : // Only display Excerpts for archives & search ?>
    8989                        <div class="entry-summary">
    9090                                <?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    9191                        </div><!-- .entry-summary -->
     
    130130                                ?>
    131131                        </div><!-- .entry-meta -->
    132132
    133         <?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives & search ?>
     133        <?php if ( is_archive() || is_search() ) : // Only display Excerpts for archives & search ?>
    134134                        <div class="entry-summary">
    135135                                <?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    136136                        </div><!-- .entry-summary -->
     
    148148                                <?php if ( ! empty( $tags_text ) ) : ?>
    149149                                <span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links"><?php echo $tags_text; ?></span></span>
    150150                                <span class="meta-sep"> | </span>
    151                                 <?php endif; //$tags_text ?>
     151                                <?php endif; // $tags_text ?>
    152152                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    153153                                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    154154                        </div><!-- #entry-utility -->