mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
Fix permalink base name format and redirect loop in profile page
This commit is contained in:
+2
-1
@@ -893,10 +893,11 @@ class UM_User {
|
||||
{
|
||||
return $matches[0];
|
||||
}
|
||||
|
||||
|
||||
$ids = get_users(array( 'fields' => 'ID', 'meta_key' => 'full_name','meta_value' => $value ,'meta_compare' => '=') );
|
||||
if ( isset( $ids[0] ) )
|
||||
return $ids[0];
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user