mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed generated profile permalink base.
This commit is contained in:
@@ -391,6 +391,8 @@ if ( ! class_exists( 'Permalinks' ) ) {
|
||||
|
||||
$permalink_base = um_get_option('permalink_base');
|
||||
|
||||
$full_name = preg_replace( '/\s+/', ' ', $first_name .' '. $last_name); // Remove double spaces
|
||||
|
||||
$user_in_url = '';
|
||||
|
||||
$full_name = str_replace("'", "", $full_name );
|
||||
|
||||
Reference in New Issue
Block a user