[wp-meta] [Making WordPress.org] #6032: plugins_api() 'downloadlink', 'reviews', and 'versions' query args do nothing.

Making WordPress.org noreply at wordpress.org
Sat Jan 22 04:27:43 UTC 2022


#6032: plugins_api() 'downloadlink', 'reviews', and 'versions' query args do
nothing.
----------------------+-----------------------
 Reporter:  jsmoriss  |       Owner:  dd32
     Type:  defect    |      Status:  accepted
 Priority:  normal    |   Milestone:
Component:  API       |  Resolution:
 Keywords:            |
----------------------+-----------------------
Changes (by dd32):

 * owner:  (none) => dd32
 * status:  new => accepted


Comment:

 I'll take a closer look this week, but note that for reviews they should
 be present in the response as `sections.reviews` not just `reviews`:

 {{{
 curl -s
 'https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request\[slug
 \]=wordpress-seo&request\[fields\]=reviews' | jq '.sections.reviews'
 }}}

 They should be included by default as of the 1.2 API, but they're not so
 I'm guessing I've got an `array_merge()` in the wrong order.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6032#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list