Ultimate Member – User Profile & Membership Plugin - Version 1.3.68

Version Description

Download this release

Release Info

Developer champsupertramp
Plugin Icon 128x128 Ultimate Member – User Profile & Membership Plugin
Version 1.3.68
Comparing to
See all releases

Code changes from version 1.3.67 to 1.3.68

Files changed (3) hide show
  1. core/um-fields.php +8 -1
  2. index.php +1 -1
  3. readme.txt +6 -2
core/um-fields.php CHANGED
@@ -495,10 +495,17 @@ class UM_Fields {
495
$key = 'role';
496
}
497
498
- if ( um_user( $key ) == $value ) {
499
return true;
500
}
501
502
} else {
503
504
if ( isset($data['default']) && $data['default'] == $value ) {
495
$key = 'role';
496
}
497
498
+ $um_user_value = um_user( $key );
499
+
500
+ if ( $um_user_value == $value ) {
501
+ return true;
502
+ }
503
+
504
+ if ( is_array( $um_user_value ) && in_array( $value, $um_user_value ) ) {
505
return true;
506
}
507
508
+
509
} else {
510
511
if ( isset($data['default']) && $data['default'] == $value ) {
index.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Ultimate Member
4
Plugin URI: http://ultimatemember.com/
5
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
6
- Version: 1.3.67
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
Text Domain: ultimatemember
3
Plugin Name: Ultimate Member
4
Plugin URI: http://ultimatemember.com/
5
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
6
+ Version: 1.3.68
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
Text Domain: ultimatemember
readme.txt CHANGED
@@ -5,9 +5,9 @@ Contributors: ultimatemember, champsupertramp
5
Donate link:
6
Tags: access control, author, authors, author profile, comments, community, communities, conditional fields, conditional logic, conditional menus, content protection, custom fields, file uploads, form builder, front-end login, front-end registration, gravatar, hide wp-admin, login, login page, logged-in users, mandrill, member, members, membership, member directory, online users, profile, profiles, profile builder, registration, restriction, restrict content, role creation, role menus, search filters, sign in, sign up, social network, star ratings, toolbar, user, users, user fields, user profile, user-profile, user profiles, user roles
7
Requires at least: 4.1
8
- Tested up to: 4.6
9
10
- Stable Tag: 1.3.67
11
12
License: GNU Version 2 or Any Later Version
13
@@ -149,6 +149,10 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
149
150
== Changelog ==
151
152
= 1.3.67: August 02, 2016 =
153
154
* New: allow non-editable fields in registration form
5
Donate link:
6
Tags: access control, author, authors, author profile, comments, community, communities, conditional fields, conditional logic, conditional menus, content protection, custom fields, file uploads, form builder, front-end login, front-end registration, gravatar, hide wp-admin, login, login page, logged-in users, mandrill, member, members, membership, member directory, online users, profile, profiles, profile builder, registration, restriction, restrict content, role creation, role menus, search filters, sign in, sign up, social network, star ratings, toolbar, user, users, user fields, user profile, user-profile, user profiles, user roles
7
Requires at least: 4.1
8
+ Tested up to: 4.5.3
9
10
+ Stable Tag: 1.3.68
11
12
License: GNU Version 2 or Any Later Version
13
149
150
== Changelog ==
151
152
+ = 1.3.68: August 02, 2016 =
153
+
154
+ * Fixed: radio field in account page
155
+
156
= 1.3.67: August 02, 2016 =
157
158
* New: allow non-editable fields in registration form