[wp-meta] [Making WordPress.org] #1637: Plugins API query_plugins request doesn't respect 'fields' argument
Making WordPress.org
noreply at wordpress.org
Fri Mar 18 12:40:01 UTC 2016
#1637: Plugins API query_plugins request doesn't respect 'fields' argument
------------------------------+----------------------
Reporter: danielbachhuber | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Plugin Directory | Resolution: invalid
Keywords: |
------------------------------+----------------------
Changes (by ocean90):
* status: new => closed
* resolution: => invalid
Comment:
The API doesn't work like this.
The list of valid fields with their default values is listed at
https://developer.wordpress.org/reference/functions/plugins_api/. `name`
is not a valid field.
If you don't want to have a field in the response you have to make this
explicit. Example: `fields' => array( 'short_description' => false )`.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1637#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list