WordPress.org

Make WordPress Core

Ticket #13651: 13651.diff

File 13651.diff, 2.5 KB (added by zeo, 9 years ago)
  • wp-content/themes/twentyten/loop.php

     
    9393                                <a href="<?php echo get_term_link( _x( 'gallery', 'gallery category slug', 'twentyten' ), 'category' ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
    9494                                <span class="meta-sep">|</span>
    9595                        <?php endif; ?>
    96                                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
     96                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), _n( '1 Comment', '% Comments', number_format_i18n( get_comments_number() ), 'twentyten' ) ); ?></span>
    9797                                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    9898                        </div><!-- .entry-utility -->
    9999                </div><!-- #post-## -->
     
    116116                        <div class="entry-utility">
    117117                                <?php twentyten_posted_on(); ?>
    118118                                <span class="meta-sep">|</span>
    119                                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
     119                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), _n( '1 Comment', '% Comments', number_format_i18n( get_comments_number() ), 'twentyten' ) ); ?></span>
    120120                                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    121121                        </div><!-- .entry-utility -->
    122122                </div><!-- #post-## -->
     
    158158                                        </span>
    159159                                        <span class="meta-sep">|</span>
    160160                                <?php endif; ?>
    161                                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
     161                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), _n( '1 Comment', '% Comments', number_format_i18n( get_comments_number() ), 'twentyten' ) ); ?></span>
    162162                                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    163163                        </div><!-- .entry-utility -->
    164164                </div><!-- #post-## -->