* updated changelog.txt;
* updated readme.txt;
* clean comments;
This commit is contained in:
Mykyta Synelnikov
2024-09-30 23:48:18 +03:00
parent b767e04618
commit 49b99f10db
9 changed files with 19 additions and 9 deletions
-1
View File
@@ -221,7 +221,6 @@ if ( ! class_exists( 'um\core\rest\API_v2' ) ) {
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;