#1637 closed defect (bug) (invalid)
Plugins API query_plugins request doesn't respect 'fields' argument
Reported by: | danielbachhuber | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
Change History (2)
Note: See
TracTickets for help on using
tickets.
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 )
.