[Plugin: Co-Authors Plus] Fix for Co-Author Plus Gravatar display in admin screens
-
Like the Co-Author Plus plugin but not showing the correct user Gravatar in the admin edit screens was annoying. I quickly realized that an (optional) image extension was being applied to the Gravatar query in the JavaScript which was causing it to fail; resulting with the default icon instead.
To fix this, edit the following in the /js/co-authors-plus.js file:
return 'https://www.gravatar.com/avatar/' + MD5(email) + '.jpg?s=' + size;
to
return 'https://www.gravatar.com/avatar/' + MD5(email) + '?s=' + size;
Good luck.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Co-Authors Plus] Fix for Co-Author Plus Gravatar display in admin screens’ is closed to new replies.