How to make gravatar.com avatars conditional?

WordPress never makes any HTTP requests for gravatars, it just generates URLs to them.

You don’t really need to override function completely. You can filter get_avatar hook and return different URL if email matches user with custom avatar set.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)