diff --git a/src/wp-admin/_index.php b/src/wp-admin/_index.php index 251da847a4..5592a509cf 100644 --- a/src/wp-admin/_index.php +++ b/src/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 ) : ?>