Making WordPress.org

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1637 closed defect (bug) (invalid)

Plugins API query_plugins request doesn't respect 'fields' argument

Reported by: danielbachhuber's profile danielbachhuber Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Change History (2)

#1 @ocean90
8 years ago

  • Resolution set to invalid
  • Status changed from new to closed

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 ).

Version 0, edited 8 years ago by ocean90 (next)

#2 @danielbachhuber
8 years ago

Ah, thanks for clarifying. I missed that.

Note: See TracTickets for help on using tickets.