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

This commit is contained in:
nikitasinelnikov
2019-08-14 11:43:33 +03:00
12 changed files with 125 additions and 57 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
}
// set unique meta key
if ( in_array( $field_type, $fields_without_metakey ) && ! isset( $array['post']['_metakey'] ) ) {
if ( in_array( $field_type, $fields_without_metakey ) || ! isset( $array['post']['_metakey'] ) ) {
$array['post']['_metakey'] = "um_{$field_type}_{$form_id}_{$count}";
}
+1 -1
View File
@@ -727,7 +727,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
array(
'id' => 'profile_icons',
'type' => 'select',
'label' => __( 'Profile Field Icons' ),
'label' => __( 'Profile Field Icons','ultimate-member' ),
'tooltip' => __( 'This is applicable for edit mode only','ultimate-member' ),
'default' => um_get_metadefault('profile_icons'),
'options' => array(