Ultimate Member – User Profile & Membership Plugin - Version 2.0.23

Version Description

Download this release

Release Info

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

Code changes from version 2.0.22 to 2.0.23

includes/admin/core/packages/2.0-beta1/user_roles.php CHANGED
@@ -133,7 +133,11 @@ if ( ! empty( $um_roles ) ) {
133
  }
134
  }
135
  } elseif ( '_um_profilec_upgrade_role' == $metakey ) {
136
- $metadata = $roles_associations[ $metadata ];
 
 
 
 
137
  }
138
 
139
  $role_meta[ $metakey ] = $metadata;
@@ -149,6 +153,7 @@ update_option( 'um_roles', $role_keys );
149
  global $wp_roles, $wp_version;
150
  if ( version_compare( $wp_version, '4.9', '<' ) ) {
151
  $wp_roles->_init();
 
152
  } elseif ( method_exists( $wp_roles, 'for_site' ) ) {
153
  $wp_roles->for_site( get_current_blog_id() );
154
  }
133
  }
134
  }
135
  } elseif ( '_um_profilec_upgrade_role' == $metakey ) {
136
+ if ( isset( $roles_associations[ $metadata ] ) ) {
137
+ $metadata = $roles_associations[ $metadata ];
138
+ } else {
139
+ $metadata = '';
140
+ }
141
  }
142
 
143
  $role_meta[ $metakey ] = $metadata;
153
  global $wp_roles, $wp_version;
154
  if ( version_compare( $wp_version, '4.9', '<' ) ) {
155
  $wp_roles->_init();
156
+ $wp_roles->reinit();
157
  } elseif ( method_exists( $wp_roles, 'for_site' ) ) {
158
  $wp_roles->for_site( get_current_blog_id() );
159
  }
includes/class-init.php CHANGED
@@ -553,7 +553,7 @@ if ( ! class_exists( 'UM' ) ) {
553
  $this->mobile();
554
  $this->external_integrations();
555
  $this->gdpr();
556
- $this->uploader();
557
 
558
  }
559
 
553
  $this->mobile();
554
  $this->external_integrations();
555
  $this->gdpr();
556
+ //$this->uploader();
557
 
558
  }
559
 
includes/core/class-user.php CHANGED
@@ -1660,7 +1660,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
1660
  * }
1661
  * ?>
1662
  */
1663
- $changes = apply_filters('um_before_update_profile', $changes, $this->id );
1664
 
1665
  foreach ( $changes as $key => $value ) {
1666
  if ( ! in_array( $key, $this->update_user_keys ) ) {
1660
  * }
1661
  * ?>
1662
  */
1663
+ $changes = apply_filters( 'um_before_update_profile', $changes, $args['ID'] );
1664
 
1665
  foreach ( $changes as $key => $value ) {
1666
  if ( ! in_array( $key, $this->update_user_keys ) ) {
readme.txt CHANGED
@@ -4,9 +4,9 @@ Plugin URI: https://ultimatemember.com/
4
  Contributors: ultimatemember, champsupertramp, nsinelnikov
5
  Donate link:
6
  Tags: community, member, membership, user-profile, user-registration
7
- Requires at least: 4.1
8
  Tested up to: 4.9
9
- Stable tag: 2.0.22
10
  License: GNU Version 2 or Any Later Version
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
 
@@ -131,6 +131,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
131
 
132
  = Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin =
133
 
 
 
 
 
 
134
  = 2.0.22: August 9, 2018 =
135
 
136
  * Enhancements:
4
  Contributors: ultimatemember, champsupertramp, nsinelnikov
5
  Donate link:
6
  Tags: community, member, membership, user-profile, user-registration
7
+ Requires at least: 4.7
8
  Tested up to: 4.9
9
+ Stable tag: 2.0.23
10
  License: GNU Version 2 or Any Later Version
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
 
131
 
132
  = Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin =
133
 
134
+ = 2.0.23: August 10, 2018 =
135
+
136
+ * Bugfixes:
137
+ - Fixed File/Image uploader
138
+
139
  = 2.0.22: August 9, 2018 =
140
 
141
  * Enhancements:
ultimate-member.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: 2.0.22
7
  Author: Ultimate Member
8
  Author URI: http://ultimatemember.com/
9
  Text Domain: ultimate-member
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: 2.0.23
7
  Author: Ultimate Member
8
  Author URI: http://ultimatemember.com/
9
  Text Domain: ultimate-member