mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed issue with user permalinks and "." symbol;
This commit is contained in:
@@ -318,7 +318,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
|
||||
|
||||
/**
|
||||
* Generate User Profile Slug and seve to meta
|
||||
* Generate User Profile Slug and save to meta
|
||||
*
|
||||
* @param int $user_id
|
||||
* @param bool $force
|
||||
@@ -360,7 +360,8 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
|
||||
} else {
|
||||
|
||||
$user_in_url = sanitize_title( $user_in_url );
|
||||
//$user_in_url = sanitize_title( $user_in_url );
|
||||
$user_in_url = urlencode( $user_in_url );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user