WordPress.org

Make WordPress Core

Changeset 7856


Ignore:
Timestamp:
04/29/2008 11:04:24 PM (10 years ago)
Author:
ryan
Message:

Use number_format_i18n on Awaiting Moderation count. fixes #6700 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/edit-comments.php

    r7424 r7856  
    9898$status_links = array();
    9999$num_comments = wp_count_comments();
    100 $stati = array('moderated' => sprintf(__ngettext('Awaiting Moderation (%s)', 'Awaiting Moderation (%s)', $num_comments->moderated), "<span class='comment-count'>$num_comments->moderated</span>"), 'approved' => _c('Approved|plural'));
     100$stati = array('moderated' => sprintf(__ngettext('Awaiting Moderation (%s)', 'Awaiting Moderation (%s)', number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"), 'approved' => _c('Approved|plural'));
    101101$class = ( '' === $comment_status ) ? ' class="current"' : '';
    102102$status_links[] = "<li><a href=\"edit-comments.php\"$class>".__('Show All Comments')."</a>";
Note: See TracChangeset for help on using the changeset viewer.