[wp-meta] [Making WordPress.org] #7855: Social Media Accounts not pulled in from Gravatar

Making WordPress.org noreply at wordpress.org
Thu Dec 12 20:04:29 UTC 2024


#7855: Social Media Accounts not pulled in from Gravatar
--------------------------+--------------------
 Reporter:  kraftbj       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:
Component:  Profiles      |   Keywords:
--------------------------+--------------------
 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.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7855>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list