v1.1.1
This commit is contained in:
parent
231ef59bb9
commit
5add9b5e84
7 changed files with 372 additions and 21 deletions
|
|
@ -769,7 +769,7 @@ class Two_Factor_Extended_Settings {
|
|||
|
||||
$export_data = array(
|
||||
'version' => TWO_FACTOR_EXTENDED_VERSION,
|
||||
'timestamp' => current_time( 'timestamp' ),
|
||||
'timestamp' => time(),
|
||||
'settings' => $settings,
|
||||
);
|
||||
|
||||
|
|
@ -968,9 +968,8 @@ class Two_Factor_Extended_Settings {
|
|||
}
|
||||
|
||||
// Get current tab.
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Tab parameter for UI navigation
|
||||
$tab_param = isset( $_GET['tab'] ) && is_string( $_GET['tab'] ) ? $_GET['tab'] : '';
|
||||
$current_tab = $tab_param ? sanitize_key( $tab_param ) : 'settings';
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Tab parameter for UI navigation; no state change
|
||||
$current_tab = isset( $_GET['tab'] ) && is_string( $_GET['tab'] ) ? sanitize_key( wp_unslash( $_GET['tab'] ) ) : 'settings';
|
||||
|
||||
// Define tabs.
|
||||
$tabs = array(
|
||||
|
|
|
|||
Loading…
Reference in a new issue