mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
User Meta in Profile
This commit is contained in:
@@ -80,7 +80,7 @@ class UM_Validation {
|
||||
|
||||
if ( $social ) {
|
||||
|
||||
if ( substr( $url, 0, strlen($social) ) == $social ) { // starts with social requested
|
||||
if ( !filter_var($url, FILTER_VALIDATE_URL) && strstr( $url, $social ) ) { // starts with social requested
|
||||
return true;
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user