Version Description
Download this release
Release Info
Developer | ultimatemember |
Plugin | Ultimate Member – User Profile & Membership Plugin |
Version | 1.0.45 |
Comparing to | |
See all releases |
Code changes from version 1.0.44 to 1.0.45
- core/um-user.php +13 -3
- index.php +1 -1
- readme.txt +5 -1
core/um-user.php
CHANGED
@@ -319,13 +319,23 @@ class UM_User {
|
|
319 |
}
|
320 |
|
321 |
$ultimatemember->files->remove_dir( um_user_uploads_dir() );
|
322 |
-
|
323 |
-
require_once( ABSPATH . 'wp-admin/includes/user.php' );
|
324 |
-
|
325 |
if ( is_multisite() ) {
|
|
|
|
|
|
|
|
|
|
|
326 |
wpmu_delete_user( $this->id );
|
|
|
327 |
} else {
|
|
|
|
|
|
|
|
|
|
|
328 |
wp_delete_user( $this->id );
|
|
|
329 |
}
|
330 |
|
331 |
}
|
319 |
}
|
320 |
|
321 |
$ultimatemember->files->remove_dir( um_user_uploads_dir() );
|
322 |
+
|
|
|
|
|
323 |
if ( is_multisite() ) {
|
324 |
+
|
325 |
+
if ( !function_exists('wpmu_delete_user') ) {
|
326 |
+
require_once( ABSPATH . 'wp-admin/includes/ms.php' );
|
327 |
+
}
|
328 |
+
|
329 |
wpmu_delete_user( $this->id );
|
330 |
+
|
331 |
} else {
|
332 |
+
|
333 |
+
if ( !function_exists('wp_delete_user') ) {
|
334 |
+
require_once( ABSPATH . 'wp-admin/includes/user.php' );
|
335 |
+
}
|
336 |
+
|
337 |
wp_delete_user( $this->id );
|
338 |
+
|
339 |
}
|
340 |
|
341 |
}
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: Ultimate Member is a powerful community and membership plugin that allows you to create beautiful community and membership sites with WordPress
|
6 |
-
Version: 1.0.
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: Ultimate Member is a powerful community and membership plugin that allows you to create beautiful community and membership sites with WordPress
|
6 |
+
Version: 1.0.45
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
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.1
|
9 |
|
10 |
-
Stable Tag: 1.0.
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
@@ -185,6 +185,10 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
185 |
|
186 |
== Changelog ==
|
187 |
|
|
|
|
|
|
|
|
|
188 |
= 1.0.44: February 8, 2015 =
|
189 |
|
190 |
* Tweak: improved performance: unused user photos are deleted when user upload
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.1
|
9 |
|
10 |
+
Stable Tag: 1.0.45
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
185 |
|
186 |
== Changelog ==
|
187 |
|
188 |
+
= 1.0.45: February 8, 2015 =
|
189 |
+
|
190 |
+
* Fixed: Multisite bug php Fatal error: call to undefined function wpmu_delete_user()
|
191 |
+
|
192 |
= 1.0.44: February 8, 2015 =
|
193 |
|
194 |
* Tweak: improved performance: unused user photos are deleted when user upload
|