mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed vulnerabilities;
- small changes and fixes;
This commit is contained in:
@@ -119,6 +119,9 @@ if ( ! class_exists( 'User' ) ) {
|
||||
|
||||
$userdata = get_userdata( $user_id );
|
||||
|
||||
if ( empty( $userdata ) )
|
||||
return UM()->permalinks()->profile_permalink( $profile_slug );
|
||||
|
||||
$user_in_url = '';
|
||||
// Username
|
||||
if ( $permalink_base == 'user_login' ) {
|
||||
|
||||
Reference in New Issue
Block a user