mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed conditional logic;
This commit is contained in:
@@ -41,7 +41,7 @@ GNU Version 2 or Any Later Version
|
||||
|
||||
## Releases
|
||||
|
||||
[Official Release Version: 2.1.14](https://github.com/ultimatemember/ultimatemember/releases/tag/2.1.14).
|
||||
[Official Release Version: 2.1.15](https://github.com/ultimatemember/ultimatemember/releases/tag/2.1.15).
|
||||
|
||||
## Changelog
|
||||
|
||||
|
||||
@@ -591,7 +591,7 @@ function um_init_field_conditions() {
|
||||
arr_all_conditions.push(obj);
|
||||
});
|
||||
|
||||
um_field_default_values[jQuery(this).data('key')] = um_get_field_default_value( jQuery(this) );
|
||||
um_field_default_values[ jQuery(this).data('key') ] = um_get_field_default_value( jQuery(this) );
|
||||
});
|
||||
|
||||
jQuery.each( arr_field_keys, function ( i, field_key ) {
|
||||
|
||||
@@ -4689,7 +4689,10 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
|
||||
if ( in_array( $data['type'], $fields_without_metakey ) ) {
|
||||
unset( $field_atts['id'] );
|
||||
unset( $field_atts['data-key'] );
|
||||
|
||||
if ( empty( $field_atts['data-key'] ) ) {
|
||||
unset( $field_atts['data-key'] );
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! empty( $field_style ) && is_array( $field_style ) ) {
|
||||
|
||||
+6
-1
@@ -7,7 +7,7 @@ Tags: community, member, membership, user-profile, user-registration
|
||||
Requires PHP: 5.6
|
||||
Requires at least: 5.0
|
||||
Tested up to: 5.6
|
||||
Stable tag: 2.1.14
|
||||
Stable tag: 2.1.15
|
||||
License: GNU Version 2 or Any Later Version
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
@@ -155,6 +155,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
* To learn more about version 2.1 please see this [docs](https://docs.ultimatemember.com/article/1512-upgrade-2-1-0)
|
||||
* UM2.1+ is a significant update to the Member Directories' code base from 2.0.x. Please make sure you take a full-site backup with restore point before updating the plugin
|
||||
|
||||
= 2.1.15: December 24, 2020 =
|
||||
|
||||
* Bugfixes:
|
||||
- Fixed conditional logic for the form fields without metakeys
|
||||
|
||||
= 2.1.14: December 22, 2020 =
|
||||
|
||||
* Enhancements:
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
Plugin Name: Ultimate Member
|
||||
Plugin URI: http://ultimatemember.com/
|
||||
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
||||
Version: 2.1.15-alpha1
|
||||
Version: 2.1.15
|
||||
Author: Ultimate Member
|
||||
Author URI: http://ultimatemember.com/
|
||||
Text Domain: ultimate-member
|
||||
|
||||
Reference in New Issue
Block a user