mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Merge pull request #1684 from ultimatemember/fix/change_account_email
Change email permissions
This commit is contained in:
@@ -676,7 +676,7 @@ if ( ! class_exists( 'um\core\Account' ) ) {
|
||||
$args = 'user_login,user_email';
|
||||
}
|
||||
|
||||
if ( ! UM()->options()->get( 'account_email' ) && ! um_user( 'can_edit_everyone' ) ) {
|
||||
if ( ! UM()->options()->get( 'account_email' ) ) {
|
||||
$args = str_replace( ',user_email', '', $args );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user