Make WordPress Core


Ignore:
Timestamp:
05/03/2010 08:37:07 PM (14 years ago)
Author:
nbachiyski
Message:

Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r14374 r14407  
    329329    // Spam Comments
    330330    $num = number_format_i18n($num_comm->spam);
    331     $text = _n( 'Spam', 'Spam', $num_comm->spam );
     331    $text = _nx( 'Spam', 'Spam', $num_comm->spam, 'comment' );
    332332    if ( current_user_can( 'moderate_comments' ) ) {
    333333        $num = "<a href='edit-comments.php?comment_status=spam'><span class='spam-count'>$num</span></a>";
Note: See TracChangeset for help on using the changeset viewer.