[wp-meta] [Making WordPress.org] #613: JSON output/endpoint(s) for profiles.wordpress.org
Making WordPress.org
noreply at wordpress.org
Thu Sep 18 19:10:10 UTC 2014
#613: JSON output/endpoint(s) for profiles.wordpress.org
--------------------------+-------------------------
Reporter: stephdau | Owner:
Type: enhancement | Status: new
Priority: normal | Component: Profiles
Resolution: | Keywords: needs-patch
--------------------------+-------------------------
Comment (by nacin):
I would just make it respond to http://profiles.wordpress.org/nacin.json.
There are exactly 2 user_logins that end in .json, and those will redirect
to their user_nicename equivalents (old code to support when BuddyPress
used to use user_logins in URLs for unknown reasons). So as long as the
hook to serve application/json happens after that potential redirect, then
you should be fine.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/613#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list