WordPress.org

Make WordPress Core

Changeset 16726


Ignore:
Timestamp:
12/05/2010 02:15:51 AM (9 years ago)
Author:
nacin
Message:

Fix comment number in Twenty Ten when there is one comment. Due to how these values are then passed to comments_popup_link(). We need to fix this. see #13651.

File:
1 edited

Legend:

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

    r16614 r16726  
    5656<?php while ( have_posts() ) : the_post();
    5757
    58 $comment_number_template = _n( '% Comment', '% Comments', get_comments_number(), 'twentyten' );
     58$comment_number_template = _n( '1 Comment', '% Comments', get_comments_number(), 'twentyten' );
    5959?>
    6060
Note: See TracChangeset for help on using the changeset viewer.