diff --git a/wp-admin/index.php b/wp-admin/index.php index 251da847a4..5592a509cf 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -124,17 +124,21 @@ require_once ABSPATH . 'wp-admin/admin-header.php'; * Calculate how many seconds it's been since the reminder was postponed. * This allows us to not show it if the query arg is set, but visited due to caches, bookmarks or similar. */ - $time_passed = $postponed_time - $remind_interval - time(); + $time_passed = time() - ( $postponed_time - $remind_interval ); // Only show the dashboard notice if it's been less than a minute since the message was postponed. - if ( $time_passed > -60 ) : + if ( $time_passed < MINUTE_IN_SECONDS ) : ?>
diff --git a/wp-includes/version.php b/wp-includes/version.php index 7548f11262..ba4dae01e9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48362'; +$wp_version = '5.5-alpha-48363'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.