git-svn-id: http://svn.automattic.com/wordpress/trunk@7852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-29 18:35:04 +00:00
parent f97c96fde0
commit ca284189fb
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ function wp_dashboard_setup() {
// Recent Comments Widget
$mod_comments = wp_count_comments();
$mod_commens = $mod_comments->moderated;
$mod_comments = $mod_comments->moderated;
if ( current_user_can( 'moderate_comments' ) && $mod_comments ) {
$notice = sprintf( __ngettext( '%d comment awaiting moderation', '%d comments awaiting moderation', $mod_comments ), $mod_comments );
$notice = "<a href='edit-comments.php?comment_status=moderated'>$notice</a>";