Opened 8 weeks ago
Closed 8 weeks ago
#7855 closed defect (bug) (fixed)
Social Media Accounts not pulled in from Gravatar
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Profiles | Keywords: | |
Cc: |
Description
On profiles.wordpress.org, we should be pulling in the accounts via the Gravatar json file.
It appears in the profiles.wordpress.org theme's functions.js, line 39 needs to be updated from:
if ( 'true' != account.verified ||
to
if ( true != account.verified ||
or we could check to ensure that account.verified is either true
or 'true'
.
The response from Gravatar is sending this as a bool and it seems like the check for a string is being checked strictly. When debugging, this is always firing (which continues to the next account instead of adding it to the array to be populated on the screen).
Gravatar's response changed around September 19, 2024 to true
instead of 'true'
.
I'll send a link to this ticket to the Gravatar team to see if this is something they'd revert or if we should adapt on the profiles.wordpress.org side.
Fixed in dotorg:23140