mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 06:03:38 +09:00
- fixed account form;
This commit is contained in:
@@ -2151,7 +2151,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
*/
|
||||
$changes = apply_filters( 'um_before_update_profile', $changes, $args['ID'] );
|
||||
foreach ( $changes as $key => $value ) {
|
||||
if ( $this->is_metakey_banned( $key, 'submission' ) ) {
|
||||
if ( $this->is_metakey_banned( $key, ( 'account' !== $context ) ? 'submission' : '' ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user