mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- file uploading/downloading fixes;
This commit is contained in:
@@ -1673,7 +1673,6 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
|
||||
// update user
|
||||
if ( count( $args ) > 1 ) {
|
||||
|
||||
//if isset roles argument validate role to properly for security reasons
|
||||
if ( isset( $args['role'] ) ) {
|
||||
global $wp_roles;
|
||||
|
||||
Reference in New Issue
Block a user