Make WordPress Core


Ignore:
Timestamp:
04/29/2008 11:02:15 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r7745 r7855  
    9797$status_links = array();
    9898$num_comments = wp_count_comments();
    99 $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'));
     99$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'));
    100100$class = ( '' === $comment_status ) ? ' class="current"' : '';
    101101$status_links[] = "<li><a href=\"edit-comments.php\"$class>".__('Show All Comments')."</a>";
Note: See TracChangeset for help on using the changeset viewer.