mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 06:33:50 +09:00
- reviewed #1340;
This commit is contained in:
@@ -39,7 +39,7 @@ class Secure {
|
||||
if ( empty( $last_scanned_capability ) ) {
|
||||
delete_option( 'um_secure_scanned_details' );
|
||||
update_option( 'um_secure_scan_status', 'started' );
|
||||
update_option( 'um_secure_last_time_scanned', current_datetime()->format( 'U' ) );
|
||||
update_option( 'um_secure_last_time_scanned', current_time( 'mysql', true ) );
|
||||
}
|
||||
|
||||
$scan_details = get_option( 'um_secure_scanned_details', array() );
|
||||
@@ -220,8 +220,8 @@ class Secure {
|
||||
'number' => -1,
|
||||
'exclude' => $arr_suspected_accounts,
|
||||
'date_query' => array(
|
||||
'after' => wp_date( 'F d, Y', strtotime( '-1 day', $oldest_date ) ),
|
||||
'before' => wp_date( 'F d, Y', strtotime( '+1 day', $newest_date ) ),
|
||||
'after' => gmdate( get_option( 'date_format', 'F j, Y' ), strtotime( '-1 day', $oldest_date ) ),
|
||||
'before' => gmdate( get_option( 'date_format', 'F j, Y' ), strtotime( '+1 day', $newest_date ) ),
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user