mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- 2.1.2 release;
This commit is contained in:
@@ -1928,13 +1928,6 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
|
||||
um_fetch_user( $_um_profile_id );
|
||||
|
||||
// do not show passwords
|
||||
// if ( isset( UM()->user()->preview ) && UM()->user()->preview /*&& ! is_admin()*/ ) {
|
||||
// if ( $data['type'] == 'password' ) {
|
||||
// return '';
|
||||
// }
|
||||
// }
|
||||
|
||||
// Stop return empty values build field attributes:
|
||||
|
||||
if ( $visibility == 'view' && $this->set_mode == 'register' ) {
|
||||
|
||||
Reference in New Issue
Block a user