- 2.1.2 release;

This commit is contained in:
nikitasinelnikov
2019-12-03 11:41:12 +02:00
parent 683e326c6f
commit cc8fd8f581
4 changed files with 19 additions and 26 deletions
-7
View File
@@ -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' ) {