mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 06:03:38 +09:00
* fixed #1554;
* updated changelog.txt; * updated readme.txt; * clean comments;
This commit is contained in:
@@ -239,7 +239,6 @@ if ( ! class_exists( 'um\core\rest\API_v1' ) ) {
|
||||
|
||||
switch ( $data ) {
|
||||
case 'status':
|
||||
//UM()->user()->set_status( $value );
|
||||
UM()->common()->users()->set_status( $id, $value );
|
||||
$response['success'] = __( 'User status has been changed.', 'ultimate-member' );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user