mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-06 05:34:26 +00:00
Coding Standards: Use strict comparison in some wp-admin files.
Props pikamander2, mukesh27, SergeyBiryukov. Fixes #49239. git-svn-id: https://develop.svn.wordpress.org/trunk@47785 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -332,7 +332,7 @@ $bulk_messages = array();
|
||||
$bulk_messages['post'] = array(
|
||||
/* translators: %s: Number of posts. */
|
||||
'updated' => _n( '%s post updated.', '%s posts updated.', $bulk_counts['updated'] ),
|
||||
'locked' => ( 1 == $bulk_counts['locked'] ) ? __( '1 post not updated, somebody is editing it.' ) :
|
||||
'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 post not updated, somebody is editing it.' ) :
|
||||
/* translators: %s: Number of posts. */
|
||||
_n( '%s post not updated, somebody is editing it.', '%s posts not updated, somebody is editing them.', $bulk_counts['locked'] ),
|
||||
/* translators: %s: Number of posts. */
|
||||
@@ -345,7 +345,7 @@ $bulk_messages['post'] = array(
|
||||
$bulk_messages['page'] = array(
|
||||
/* translators: %s: Number of pages. */
|
||||
'updated' => _n( '%s page updated.', '%s pages updated.', $bulk_counts['updated'] ),
|
||||
'locked' => ( 1 == $bulk_counts['locked'] ) ? __( '1 page not updated, somebody is editing it.' ) :
|
||||
'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 page not updated, somebody is editing it.' ) :
|
||||
/* translators: %s: Number of pages. */
|
||||
_n( '%s page not updated, somebody is editing it.', '%s pages not updated, somebody is editing them.', $bulk_counts['locked'] ),
|
||||
/* translators: %s: Number of pages. */
|
||||
@@ -358,7 +358,7 @@ $bulk_messages['page'] = array(
|
||||
$bulk_messages['wp_block'] = array(
|
||||
/* translators: %s: Number of blocks. */
|
||||
'updated' => _n( '%s block updated.', '%s blocks updated.', $bulk_counts['updated'] ),
|
||||
'locked' => ( 1 == $bulk_counts['locked'] ) ? __( '1 block not updated, somebody is editing it.' ) :
|
||||
'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 block not updated, somebody is editing it.' ) :
|
||||
/* translators: %s: Number of blocks. */
|
||||
_n( '%s block not updated, somebody is editing it.', '%s blocks not updated, somebody is editing them.', $bulk_counts['locked'] ),
|
||||
/* translators: %s: Number of blocks. */
|
||||
|
||||
Reference in New Issue
Block a user