diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index 4e6aaa4854..e05dd77b0a 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -635,7 +635,7 @@ class WP_List_Table { return false; } - if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) { + if ( isset( $_REQUEST['action'] ) && '-1' !== $_REQUEST['action'] ) { return $_REQUEST['action']; } @@ -753,7 +753,7 @@ class WP_List_Table { $month_count = count( $months ); - if ( ! $month_count || ( 1 == $month_count && 0 == $months[0]->month ) ) { + if ( ! $month_count || ( 1 === $month_count && 0 === (int) $months[0]->month ) ) { return; } @@ -764,7 +764,7 @@ class WP_List_Table { value="0"> year ) { + if ( 0 === (int) $arc_row->year ) { continue; } @@ -1053,11 +1053,11 @@ class WP_List_Table { $disable_prev = false; $disable_next = false; - if ( 1 == $current ) { + if ( 1 === $current ) { $disable_first = true; $disable_prev = true; } - if ( $total_pages == $current ) { + if ( $total_pages === $current ) { $disable_last = true; $disable_next = true; } diff --git a/wp-includes/version.php b/wp-includes/version.php index dfd65a6869..892620361e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta1-58373'; +$wp_version = '6.6-beta1-58374'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.