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 : ?>
|
||||
<div id="message" class="updated notice is-dismissible">
|
||||
<p>
|
||||
<?php echo _n(
|
||||
'The selected plugin has been <strong>deleted</strong>.',
|
||||
'The selected plugins have been <strong>deleted</strong>.',
|
||||
$plugins_to_delete );
|
||||
<?php
|
||||
if ( 1 == $plugins_to_delete ) {
|
||||
_e( 'The selected plugin has been <strong>deleted</strong>.' );
|
||||
} else {
|
||||
_e( 'The selected plugins have been <strong>deleted</strong>.' );
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue