- fixed generated profile permalink base.

This commit is contained in:
Denis Baranov
2017-11-27 12:44:21 +02:00
parent 6bdb6af868
commit 17906e5485
+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 );