mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
Plugins: Don't use _n() for singular/plural strings which have no placeholder for a number.
Fixes #33239. See #28502. git-svn-id: https://develop.svn.wordpress.org/trunk@34521 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user