mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
There ARE 2 posts pending your review. props mdawaffe. see #6290
git-svn-id: https://develop.svn.wordpress.org/trunk@7390 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -75,7 +75,7 @@ if ( $can_edit_posts && !empty($num_posts->future) ) {
|
||||
}
|
||||
|
||||
if ( current_user_can('publish_posts') && !empty($num_posts->pending) ) {
|
||||
$pending_text = sprintf( __ngettext( 'There is <a href="%1$s">%2$s post</a> pending your review.', 'There is <a href="%1$s">%2$s posts</a> pending your review.', $num_posts->pending ), 'edit.php?post_status=pending', number_format_i18n( $num_posts->pending ) );
|
||||
$pending_text = sprintf( __ngettext( 'There is <a href="%1$s">%2$s post</a> pending your review.', 'There are <a href="%1$s">%2$s posts</a> pending your review.', $num_posts->pending ), 'edit.php?post_status=pending', number_format_i18n( $num_posts->pending ) );
|
||||
} else {
|
||||
$pending_text = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user