mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
- added profile privacy setting for the avoiding profile indexation;
This commit is contained in:
@@ -2053,7 +2053,7 @@ function um_get_cover_uri( $image, $attrs ) {
|
||||
function um_get_avatar_url( $get_avatar ) {
|
||||
preg_match( '/src="(.*?)"/i', $get_avatar, $matches );
|
||||
|
||||
return $matches[1];
|
||||
return isset( $matches[1] ) ? $matches[1] : '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user