Make WordPress Core


Ignore:
Timestamp:
12/19/2009 10:51:29 AM (15 years ago)
Author:
westi
Message:

Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.

File:
1 edited

Legend:

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

    r12401 r12459  
    261261    // Approved Comments
    262262    $num = '<span class="approved-count">' . number_format_i18n($num_comm->approved) . '</span>';
    263     $text = _nc( 'Approved|Right Now', 'Approved', $num_comm->approved );
     263    $text = _nx( 'Approved', 'Approved', $num_comm->approved, 'Right Now' );
    264264    if ( current_user_can( 'moderate_comments' ) ) {
    265265        $num = "<a href='edit-comments.php?comment_status=approved'>$num</a>";
Note: See TracChangeset for help on using the changeset viewer.