mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fix for profile form;
This commit is contained in:
@@ -2119,11 +2119,15 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
/**
|
||||
* Update profile
|
||||
*
|
||||
* @param $changes
|
||||
* @param array $changes
|
||||
* @param string $context
|
||||
*/
|
||||
public function update_profile( $changes ) {
|
||||
$this->updating_process = true;
|
||||
$args['ID'] = $this->id;
|
||||
public function update_profile( $changes, $context = '' ) {
|
||||
if ( 'account' !== $context ) {
|
||||
$this->updating_process = true;
|
||||
}
|
||||
|
||||
$args['ID'] = $this->id;
|
||||
|
||||
/**
|
||||
* Filters the update profile changes data.
|
||||
|
||||
Reference in New Issue
Block a user