Opened 17 months ago
Closed 7 months ago
#19775 closed defect (bug) (duplicate)
Plugin API requests should limit what data they request
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upgrade/Install | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | xoodrew@… |
Description
The Plugin API requests are returning data which isn't displayed/needed.
The data items in question for Plugin info is the full compatibility matrix (wp version, plugin version, does it work or not) and the Plugins tags.
This is easy to handle client or server side, simply requires extra array items to be added (in either case).
I'm leaning towards a core change here, as we don't currently have any decent documentation of the API, and as a result, bumping the API which is being used by others without a proper documentation and changing the return data ever so slightly doesn't seem worth it.
Attachments (3)
Change History (9)
That's some wacky indentation...
+1 for displaying the contributors as well as the main author.
That's some wacky indentation...
Trac does Tabs as 8 spaces.. always looks wacky when it's been written with 4space = 1tab in mind as most code editors do. That can be split into a seperate $args array to limit the indent to clean it up.
comment:4
DrewAPicture — 17 months ago
- Cc xoodrew@… added
Patch attached (twice?) with better spacing and $args array.

I also notice that the Contributors list is in there, but perhaps we should be displaying that on the plugin info screen as well as the primary author account?