Opened 9 years ago

Closed 6 years ago

Last modified 5 years ago

#1304 closed enhancement (fixed)

Update plugins_api to accept multiple slugs when querying 'plugin_information'

Reported by: djpaul's profile DJPaul Owned by:
Milestone: Priority: normal
Component: API Keywords: needs-patch

Description (last modified by netweb)

Migrated from

When querying plugins_api() with 'plugin_information', the second argument takes a parameter 'slug' on which to find the plugin. Please may the API be updated to optionally accept an array of slugs, so that you can query for multiple plugins in the same HTTP request?

Change History (11)

#1 @netweb
9 years ago

  • Description modified (diff)
  • Reporter changed from chriscct7 to DJPaul

Restored original ticket formatting for improved readability.

#3 @SergeyBiryukov
9 years ago

  • Component changed from Plugin Directory to

#6 follow-up: @obenland
6 years ago

@dd32 Would this be something for v1.2?

#7 in reply to: ↑ 6 @dd32
6 years ago

Replying to obenland:

@dd32 Would this be something for v1.2?

It'll probably require a few more changes, but I'll have a look into it as it'll be a good performance boost for Core.

#8 @dd32
6 years ago

In 6484:

Theme Directory: API: Allow for querying multiple themes on the theme_information action through the 'slugs' parameter.


See #1304

#9 @dd32
6 years ago

In 6485:

Plugin Directory: API: Allow for querying multiple plugins on the plugin_information action through the 'slugs' parameter.


See #1304

#10 @dd32
6 years ago

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

Turned out core doesn't actually need this functionality anymore, as the problematic calls were removed recently (I missed that).

I'm going to leave this here as-is for now, with a note that it might change in the future.

#11 @dd32
5 years ago

#2522 was marked as a duplicate.

Note: See TracTickets for help on using tickets.