From 21548ad0de1803b6782293dc2781f811abe0f9f5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 1 Feb 2020 20:29:05 +0000 Subject: [PATCH] Text Changes: Add missing periods to comment status update notices, for consistency. Props Presskopp. See #42735. Built from https://develop.svn.wordpress.org/trunk@47152 git-svn-id: http://core.svn.wordpress.org/trunk@46952 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index a03fd00e59..5febdd2d8a 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -270,7 +270,7 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $ if ( $approved > 0 || $deleted > 0 || $trashed > 0 || $untrashed > 0 || $spammed > 0 || $unspammed > 0 || $same > 0 ) { if ( $approved > 0 ) { /* translators: %s: Number of comments. */ - $messages[] = sprintf( _n( '%s comment approved', '%s comments approved', $approved ), $approved ); + $messages[] = sprintf( _n( '%s comment approved.', '%s comments approved.', $approved ), $approved ); } if ( $spammed > 0 ) { @@ -281,7 +281,7 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $ if ( $unspammed > 0 ) { /* translators: %s: Number of comments. */ - $messages[] = sprintf( _n( '%s comment restored from the spam', '%s comments restored from the spam', $unspammed ), $unspammed ); + $messages[] = sprintf( _n( '%s comment restored from the spam.', '%s comments restored from the spam.', $unspammed ), $unspammed ); } if ( $trashed > 0 ) { @@ -292,12 +292,12 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $ if ( $untrashed > 0 ) { /* translators: %s: Number of comments. */ - $messages[] = sprintf( _n( '%s comment restored from the Trash', '%s comments restored from the Trash', $untrashed ), $untrashed ); + $messages[] = sprintf( _n( '%s comment restored from the Trash.', '%s comments restored from the Trash.', $untrashed ), $untrashed ); } if ( $deleted > 0 ) { /* translators: %s: Number of comments. */ - $messages[] = sprintf( _n( '%s comment permanently deleted', '%s comments permanently deleted', $deleted ), $deleted ); + $messages[] = sprintf( _n( '%s comment permanently deleted.', '%s comments permanently deleted.', $deleted ), $deleted ); } if ( $same > 0 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 94df75a770..dbdee501b1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47151'; +$wp_version = '5.4-alpha-47152'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.