Coding Standards: Use strict comparison in `wp-admin/includes/class-wp-ms-users-list-table.php`.

Follow-up to [16607], [32630], [32757], [47219].

See #54728.
Built from https://develop.svn.wordpress.org/trunk@52583


git-svn-id: http://core.svn.wordpress.org/trunk@52173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-01-16 08:16:04 +00:00
parent 8669c16e04
commit 81a1fc33cb
2 changed files with 5 additions and 5 deletions

View File

@ -400,16 +400,16 @@ class WP_MS_Users_List_Table extends WP_List_Table {
$actions['edit'] = '<a href="' . esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) . '">' . __( 'Edit' ) . '</a>';
$class = '';
if ( 1 == $val->spam ) {
if ( 1 === (int) $val->spam ) {
$class .= 'site-spammed ';
}
if ( 1 == $val->mature ) {
if ( 1 === (int) $val->mature ) {
$class .= 'site-mature ';
}
if ( 1 == $val->deleted ) {
if ( 1 === (int) $val->deleted ) {
$class .= 'site-deleted ';
}
if ( 1 == $val->archived ) {
if ( 1 === (int) $val->archived ) {
$class .= 'site-archived ';
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-52582';
$wp_version = '6.0-alpha-52583';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.