From df3098f36dd8fadeac897b5fe4fa4fdf70c1e589 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Thu, 24 Sep 2015 21:07:25 +0000 Subject: [PATCH] Plugins: Don't use `_n()` for singular/plural strings which have no placeholder for a number. Fixes #33239. See #28502. Built from https://develop.svn.wordpress.org/trunk@34521 git-svn-id: http://core.svn.wordpress.org/trunk@34485 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/plugins.php | 10 ++++++---- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index b5ec0aaf2e..32bf7dc586 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -444,10 +444,12 @@ if ( ! empty( $invalid ) ) {

- deleted.', - 'The selected plugins have been deleted.', - $plugins_to_delete ); + deleted.' ); + } else { + _e( 'The selected plugins have been deleted.' ); + } ?>

diff --git a/wp-includes/version.php b/wp-includes/version.php index 3bfaee2caa..3273eb0dfa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34520'; +$wp_version = '4.4-alpha-34521'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.