Merge branch 'release/2.0' of https://github.com/ultimatemember/ultimatemember into release/2.0

This commit is contained in:
nikitozzzzzzz
2017-11-28 21:21:31 +02:00
+2
View File
@@ -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 );