WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1007 closed enhancement (fixed)

WordCamp JSON API: Expose Speaker Gravatar

Reported by: tareiking Owned by: iandunn
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: needs-patch
Cc:

Description

When retrieving WordCamp data via the JSON API - it would be useful to retrieve a gravatar link for speakers.

Understandably, the stored meta information is the speakers email address, so exposing this is a privacy concern - however, are we able to expose a generated gravatar link/hash for public use?

http://sf.wordcamp.org/2014/wp-json/posts?type=wcb_speaker shows post_meta as empty as an example

Change History (3)

#1 @iandunn
4 years ago

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

In 1525:

WordCamp JSON API: Expose Speaker's avatar URL.

Fixes #1007

#2 @iandunn
4 years ago

The Gravatar is now exposed via the avatar field, just like on an author object.

#3 @tareiking
4 years ago

Thanks @iandunn - works like a charm!

Note: See TracTickets for help on using tickets.