From 251753bbbfe3124fa0d5299786ababcb32c3c1a6 Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 7 Jul 2023 17:39:49 +0800 Subject: [PATCH] Remove hours from the detection --- includes/ajax/class-secure.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ajax/class-secure.php b/includes/ajax/class-secure.php index b92df089..86fc1642 100644 --- a/includes/ajax/class-secure.php +++ b/includes/ajax/class-secure.php @@ -256,8 +256,8 @@ class Secure { $content .= $br . __( 'We\'ve temporarily disabled the suspcious account(s) for you to take actions.', 'ultimate-member' ); if ( $might_affected_users->get_total() > 0 ) { - $od = gmdate( 'F d, Y h:iA', $oldest_date ); - $nd = gmdate( 'F d, Y h:iA', $newest_date ); + $od = gmdate( 'F d, Y', $oldest_date ); + $nd = gmdate( 'F d, Y', $newest_date ); if ( $od !== $nd ) { $date_registered = $od . ' to ' . $nd; } else {