mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 06:03:38 +09:00
- intermediate results with sanitizing form handlers;
This commit is contained in:
@@ -397,6 +397,8 @@ if ( ! class_exists( 'um\core\Account' ) ) {
|
||||
$this->current_tab = UM()->form()->post_form['_um_account_tab'];
|
||||
}
|
||||
|
||||
$this->current_tab = sanitize_key( $this->current_tab );
|
||||
|
||||
if ( ! isset( UM()->form()->errors ) ) {
|
||||
/**
|
||||
* UM hook
|
||||
@@ -971,4 +973,4 @@ if ( ! class_exists( 'um\core\Account' ) ) {
|
||||
return $is_required;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user