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:
parent
8669c16e04
commit
81a1fc33cb
|
@ -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>';
|
$actions['edit'] = '<a href="' . esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) . '">' . __( 'Edit' ) . '</a>';
|
||||||
|
|
||||||
$class = '';
|
$class = '';
|
||||||
if ( 1 == $val->spam ) {
|
if ( 1 === (int) $val->spam ) {
|
||||||
$class .= 'site-spammed ';
|
$class .= 'site-spammed ';
|
||||||
}
|
}
|
||||||
if ( 1 == $val->mature ) {
|
if ( 1 === (int) $val->mature ) {
|
||||||
$class .= 'site-mature ';
|
$class .= 'site-mature ';
|
||||||
}
|
}
|
||||||
if ( 1 == $val->deleted ) {
|
if ( 1 === (int) $val->deleted ) {
|
||||||
$class .= 'site-deleted ';
|
$class .= 'site-deleted ';
|
||||||
}
|
}
|
||||||
if ( 1 == $val->archived ) {
|
if ( 1 === (int) $val->archived ) {
|
||||||
$class .= 'site-archived ';
|
$class .= 'site-archived ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue