#2585 closed defect (bug) (fixed)
API is returning a different author name than the plugin directory
Reported by: | ocean90 | Owned by: | dd32 |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | high |
Component: | Plugin Directory | Keywords: | has-patch |
Cc: |
Description
The API seems to return a different author name as the previous API and the front end of the new plugin directory.
Attachments (5)
Change History (16)
#3
@
8 years ago
On the "View details" link in plugins.php, in addition to the author being wrong (it's the original submitter of the plugin rather than the current author) the link also goes to the wrong website.
It's also incorrect on plugin-install.php, but presumably that info comes from the same place.
Interestingly, at https://api.wordpress.org/plugins/info/1.0/simplemap/, the author URL is correct, and the author name, but not the author profile.
#4
@
8 years ago
- Priority changed from normal to high
Related: #2630
#6
@
8 years ago
- Keywords has-patch added; needs-patch removed
@dd32 Is this the right place to fix it?
#7
@
8 years ago
@obenland Looks good to me - I haven't tested it though, verify that it looks good in https://wordpress.org/plugins/wp-json/plugins/v1/plugin/$slug
and commit - the caches in the API are ~24hrs though, but any commit or change to an affected plugin will cause that to be cleared.
#8
@
8 years ago
Might want to add esc_url on it if core doesn't, but other than that, patch looks good.
Already chatted with @dd32 about this. He'll take a look at this.