mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge branch 'master' of https://github.com/ultimatemember/ultimatemember into beta/2.1.0
This commit is contained in:
@@ -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}";
|
||||
}
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user