Merge branch 'beta/2.1.0' of https://github.com/ultimatemember/ultimatemember into beta/2.1.0

# Conflicts:
#	templates/members-list.php
This commit is contained in:
nikitasinelnikov
2019-09-23 13:39:51 +03:00
2 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -84,8 +84,9 @@
if ( empty( $key ) ) {
unset( $reveal_fields[ $k ] );
} ?>
<# $show_block = typeof user.<?php echo $key; ?> !== 'undefined'; #>
<# if ( typeof user.<?php echo $key; ?> !== 'undefined' ) {
$show_block = true;
} #>
<?php }
if ( $show_social ) { ?>
+3 -1
View File
@@ -62,7 +62,9 @@
unset( $reveal_fields[ $k ] );
} ?>
<# $show_block = typeof user.<?php echo $key; ?> !== 'undefined'; #>
<# if ( typeof user.<?php echo $key; ?> !== 'undefined' ) {
$show_block = true;
} #>
<?php }
if ( $show_social ) { ?>