Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@7852 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e3b31a2165
commit
889604f89a
@ -24,7 +24,7 @@ function wp_dashboard_setup() {
|
|||||||
|
|
||||||
// Recent Comments Widget
|
// Recent Comments Widget
|
||||||
$mod_comments = wp_count_comments();
|
$mod_comments = wp_count_comments();
|
||||||
$mod_commens = $mod_comments->moderated;
|
$mod_comments = $mod_comments->moderated;
|
||||||
if ( current_user_can( 'moderate_comments' ) && $mod_comments ) {
|
if ( current_user_can( 'moderate_comments' ) && $mod_comments ) {
|
||||||
$notice = sprintf( __ngettext( '%d comment awaiting moderation', '%d comments awaiting moderation', $mod_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>";
|
$notice = "<a href='edit-comments.php?comment_status=moderated'>$notice</a>";
|
||||||
|
Loading…
Reference in New Issue
Block a user