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
This commit is contained in:
parent
169db9dbb1
commit
df3098f36d
|
@ -444,10 +444,12 @@ if ( ! empty( $invalid ) ) {
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<div id="message" class="updated notice is-dismissible">
|
<div id="message" class="updated notice is-dismissible">
|
||||||
<p>
|
<p>
|
||||||
<?php echo _n(
|
<?php
|
||||||
'The selected plugin has been <strong>deleted</strong>.',
|
if ( 1 == $plugins_to_delete ) {
|
||||||
'The selected plugins have been <strong>deleted</strong>.',
|
_e( 'The selected plugin has been <strong>deleted</strong>.' );
|
||||||
$plugins_to_delete );
|
} else {
|
||||||
|
_e( 'The selected plugins have been <strong>deleted</strong>.' );
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue