- fixed profile page permalinks;

This commit is contained in:
nikitozzzzzzz
2018-10-15 21:36:34 +03:00
parent 2a6f8e6531
commit 8cc4be56d6
5 changed files with 12 additions and 7 deletions
+2 -2
View File
@@ -373,11 +373,11 @@ if ( ! class_exists( 'um\core\Permalinks' ) ) {
} else {
$profile_url = add_query_arg( 'um_user', $slug, $profile_url );
$profile_url = add_query_arg( 'um_user', strtolower( $slug ), $profile_url );
}
return ! empty( $profile_url ) ? strtolower( $profile_url ) : '';
return ! empty( $profile_url ) ? $profile_url : '';
}