Bug, outputs gravatar URL also if avatars are disabled
-
Yoast SEO 11.0 outputs gravatar url in “Person” schema header if the “site represents a person” and in “Article” schema headers and maybe more, also if in WordPress > Settings > Discussion > Avatar is switched off.
…{“@context”:”https://schema.org”,”@graph”:[{“@type”:”Person”,”@id”:”https://www.example.com/#person”,”name”:”John Doe”,”image”:{“@type”:”ImageObject”,”@id”:”https://www.example.com/#personlogo”,”url”:“https://secure.gravatar.com/avatar/2abd%5Bredacted%5D27?s=96&d=mm&r=g”,”caption”:”John Doe”},”sameAs”:[]},…
Expected behaviour: Plugin should respect WordPress setting
get_option( 'show_avatars' )
.Note: Gravatar URLs contain MD5 of full email address of user, adding the URL to schema header can lead to unwanted and unnoticed personal information leak, google the keyword “wordpressexpose”…
- The topic ‘Bug, outputs gravatar URL also if avatars are disabled’ is closed to new replies.