WordPress.org

Make WordPress Core

Changeset 17111


Ignore:
Timestamp:
12/22/10 18:06:56 (3 years ago)
Author:
nacin
Message:

Revert [16614] and [16614]. Deal with plural form issues in early 3.2 and remove the hacks from Twenty Ten. see #13651.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/loop.php

    r17072 r17111  
    5454     * Without further ado, the loop: 
    5555     */ ?> 
    56 <?php while ( have_posts() ) : the_post(); 
    57  
    58 $comment_number_template = _n( '1 Comment', '% Comments', get_comments_number(), 'twentyten' ); 
    59 ?> 
     56<?php while ( have_posts() ) : the_post(); ?> 
    6057 
    6158<?php /* How to display posts of the Gallery format. The gallery category is the old way. */ ?> 
     
    10097                <span class="meta-sep">|</span> 
    10198            <?php endif; ?> 
    102                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template ); ?></span> 
     99                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 
    103100                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 
    104101            </div><!-- .entry-utility --> 
     
    123120                <?php twentyten_posted_on(); ?> 
    124121                <span class="meta-sep">|</span> 
    125                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template ); ?></span> 
     122                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 
    126123                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 
    127124            </div><!-- .entry-utility --> 
     
    165162                    <span class="meta-sep">|</span> 
    166163                <?php endif; ?> 
    167                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template ); ?></span> 
     164                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 
    168165                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 
    169166            </div><!-- .entry-utility --> 
Note: See TracChangeset for help on using the changeset viewer.