Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -260,7 +260,7 @@ function wp_dashboard_right_now() {
|
||||
|
||||
// Approved Comments
|
||||
$num = '<span class="approved-count">' . number_format_i18n($num_comm->approved) . '</span>';
|
||||
$text = _nc( 'Approved|Right Now', 'Approved', $num_comm->approved );
|
||||
$text = _nx( 'Approved', 'Approved', $num_comm->approved, 'Right Now' );
|
||||
if ( current_user_can( 'moderate_comments' ) ) {
|
||||
$num = "<a href='edit-comments.php?comment_status=approved'>$num</a>";
|
||||
$text = "<a class='approved' href='edit-comments.php?comment_status=approved'>$text</a>";
|
||||
|
||||
Reference in New Issue
Block a user