Making WordPress.org

Opened 8 weeks ago

Closed 8 weeks ago

#7855 closed defect (bug) (fixed)

Social Media Accounts not pulled in from Gravatar

Reported by: kraftbj's profile kraftbj 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.

Change History (1)

#1 @Otto42
8 weeks ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in dotorg:23140

Note: See TracTickets for help on using tickets.