GravatarLocalCache Broken since WordPress 4.2
-
I added a modified version of GravatarLocalCache to the SEO theme I develop (Stallion Responsive) a while back and up until WordPress 4.2 was working as expected.
Testing with the original plugin since the 4.2 update Gravatars that are associated with a ‘real’ image (avatars where an email address is registered with gravatar.com) still work, but the computer generated images are always loading the default blue Gravatar logo.
So for registers email addresses the correct avatar image is cached locally, for the generated avatars the default logo image is cached locally instead.
I’ve tracked this down to WordPress 4.2, works fine in WordPress 4.1.
Not been able to figure out why though. In 4.2 WordPress added responsive support, added the additional scrset= attribute to the image code (basically a second copy of the Gravatar URL ending x2 which a browser can choose to use if a better fit for the layout). Doesn’t appear to be the cause of the problem, everything works except the wrong image is saved.
David
- The topic ‘GravatarLocalCache Broken since WordPress 4.2’ is closed to new replies.