Title: Bug, WordPress avatar setting not respected
Last modified: December 28, 2022

---

# Bug, WordPress avatar setting not respected

 *  [ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/bug-wordpress-avatar-setting-not-respected/)
 * Theme uses code like this:
 *     ```wp-block-code
       <img src="<?php echo esc_url(get_avatar_url($author_id, array('size' => 150))); ?>">
       ```
   
 * If avatars are disabled in WordPress > Settings > Discussion the theme still 
   embeds external hosted `gravatar.com` images.
 * This is a GDPR problem – similar [as described here](https://make.wordpress.org/themes/2022/06/18/complying-with-gdpr-when-using-google-fonts/).
 * Suggested fix: Check `get_option( 'show_avatars' )` before using `get_avatar_url()`
   output.
 * Seek 2.0.5

The topic ‘Bug, WordPress avatar setting not respected’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/seek/2.1.3/screenshot.png)
 * Seek
 * [Support Threads](https://wordpress.org/support/theme/seek/)
 * [Active Topics](https://wordpress.org/support/theme/seek/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/seek/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/seek/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/bug-wordpress-avatar-setting-not-respected/)
 * Status: not resolved