mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-14 12:16:39 +09:00
Version 1.0.45
This commit is contained in:
+13
-3
@@ -319,13 +319,23 @@ class UM_User {
|
||||
}
|
||||
|
||||
$ultimatemember->files->remove_dir( um_user_uploads_dir() );
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/user.php' );
|
||||
|
||||
|
||||
if ( is_multisite() ) {
|
||||
|
||||
if ( !function_exists('wpmu_delete_user') ) {
|
||||
require_once( ABSPATH . 'wp-admin/includes/ms.php' );
|
||||
}
|
||||
|
||||
wpmu_delete_user( $this->id );
|
||||
|
||||
} else {
|
||||
|
||||
if ( !function_exists('wp_delete_user') ) {
|
||||
require_once( ABSPATH . 'wp-admin/includes/user.php' );
|
||||
}
|
||||
|
||||
wp_delete_user( $this->id );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Plugin Name: Ultimate Member
|
||||
Plugin URI: http://ultimatemember.com/
|
||||
Description: Ultimate Member is a powerful community and membership plugin that allows you to create beautiful community and membership sites with WordPress
|
||||
Version: 1.0.44
|
||||
Version: 1.0.45
|
||||
Author: Ultimate Member
|
||||
Author URI: http://ultimatemember.com/
|
||||
*/
|
||||
|
||||
+5
-1
@@ -7,7 +7,7 @@ Tags: access control, author, authors, author profile, comments, community, comm
|
||||
Requires at least: 4.1
|
||||
Tested up to: 4.1
|
||||
|
||||
Stable Tag: 1.0.44
|
||||
Stable Tag: 1.0.45
|
||||
|
||||
License: GNU Version 2 or Any Later Version
|
||||
|
||||
@@ -185,6 +185,10 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.45: February 8, 2015 =
|
||||
|
||||
* Fixed: Multisite bug php Fatal error: call to undefined function wpmu_delete_user()
|
||||
|
||||
= 1.0.44: February 8, 2015 =
|
||||
|
||||
* Tweak: improved performance: unused user photos are deleted when user upload
|
||||
|
||||
Reference in New Issue
Block a user