diff --git a/wp-includes/user.php b/wp-includes/user.php index d078d3d0f8..f60dbe5d3f 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -2792,7 +2792,7 @@ All at ###SITENAME### $remember = false; - if ( false !== $logged_in_cookie && ( $logged_in_cookie['expiration'] - time() ) > $default_cookie_life ) { + if ( false !== $logged_in_cookie && ( (int) $logged_in_cookie['expiration'] - time() ) > $default_cookie_life ) { $remember = true; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 46547c9dac..96a1a62454 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59376'; +$wp_version = '6.8-alpha-59377'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.