mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 11:46:27 +09:00
Remove hours from the detection
This commit is contained in:
@@ -256,8 +256,8 @@ class Secure {
|
||||
$content .= $br . __( 'We\'ve temporarily disabled the suspcious account(s) for you to <strong>take actions</strong>.', '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 {
|
||||
|
||||
Reference in New Issue
Block a user