#1637 closed defect (bug) (invalid)
Plugins API query_plugins request doesn't respect 'fields' argument
| Reported by: | danielbachhuber | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin Directory | Keywords: | |
| Cc: |
Description
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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/.
nameis 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 ).