Ultimate Member – User Profile & Membership Plugin - Version 1.3.81

Version Description

Download this release

Release Info

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

Code changes from version 1.3.80 to 1.3.81

Files changed (4) hide show
  1. core/um-logout.php +4 -1
  2. core/um-short-functions.php +2 -2
  3. index.php +1 -1
  4. readme.txt +7 -1
core/um-logout.php CHANGED
@@ -35,7 +35,10 @@ class UM_Logout {
35
}
36
37
$has_translation = true;
38
- $trid = $sitepress->get_element_trid( $current_page_ID );
39
40
if( icl_get_default_language() !== $language_code ){
41
$not_default_lang = true;
35
}
36
37
$has_translation = true;
38
+
39
+ if( function_exists('icl_object_id') ){
40
+ $trid = $sitepress->get_element_trid( $current_page_ID );
41
+ }
42
43
if( icl_get_default_language() !== $language_code ){
44
$not_default_lang = true;
core/um-short-functions.php CHANGED
@@ -354,7 +354,7 @@
354
}
355
break;
356
case 'contains':
357
- if ( !strstr( $field, $val ) ){
358
$state = 1;
359
}else{
360
$state = 0;
@@ -435,7 +435,7 @@
435
}
436
break;
437
case 'contains':
438
- if ( !strstr( $field, $val ) ){
439
$state = 0;
440
}else{
441
$state = 1;
354
}
355
break;
356
case 'contains':
357
+ if ( strstr( $field, $val ) ){
358
$state = 1;
359
}else{
360
$state = 0;
435
}
436
break;
437
case 'contains':
438
+ if ( strstr( $field, $val ) ){
439
$state = 0;
440
}else{
441
$state = 1;
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.80
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.81
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
Text Domain: ultimatemember
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tags: access control, author, authors, author profile, comments, community, comm
7
Requires at least: 4.1
8
Tested up to: 4.7.1
9
10
- Stable Tag: 1.3.80
11
12
License: GNU Version 2 or Any Later Version
13
@@ -150,6 +150,12 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
150
151
== Changelog ==
152
153
= 1.3.80: January 18, 2017 =
154
155
* Bugfixes:
7
Requires at least: 4.1
8
Tested up to: 4.7.1
9
10
+ Stable Tag: 1.3.81
11
12
License: GNU Version 2 or Any Later Version
13
150
151
== Changelog ==
152
153
+ = 1.3.81: January 19, 2017 =
154
+
155
+ * Bugfixes
156
+ * Fix conditional field option with 'contains'
157
+ * Fix WPML compatibility with UM logout
158
+
159
= 1.3.80: January 18, 2017 =
160
161
* Bugfixes: