Support » Plugin: WP Vanilla Connect » Disable Gravatar

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have tryed everything to make it stop taking gravatar and use the local avatar on my WordPress page with no luck please advise. thanks

    I FINALLY FIGURED IT OUT!

    in wp-vanilla-connect.php change line 105

    $user['photourl'] = $gravatar_url;

    to

    $avatar = new SimpleXMLElement(get_avatar($current_user->ID));
    
    $user['photourl'] = (string)$avatar['src'];
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Gravatar’ is closed to new replies.