#11045 closed defect (bug) (invalid)
Compatibility info from plugins API
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | WordPress.org site | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Using the plugin_information method of the Plugins API only returns the plugin compatibility info for WP 2.9 despite there being compatibility info available for several versions.
The announcement blog post for the new method states:
If the API knows which version of WordPress you are using (for example, if you are making this query using the plugins_api() function from with WordPress), the API will only return compatibility information for your version of WordPress.
It seems the API is returning info only for 2.9 and not the WordPress version you are using.
Is there a parameter available to request compatibility info for a particular WP version?
Change History (3)
comment:2
in reply to:
↑ 1
johnbillion
— 4 years ago
- Resolution set to invalid
- Status changed from new to closed
Replying to dd32:
if you use plugins_api() from within wordpress, it sends the current WP version along in the request.
Being the clever chappy that I am, I was testing this with trunk and that's why it was returning compat info for 2.9 rather than 2.8.x as I was expecting. All is well.
comment:3
Denis-de-Bernardy
— 4 years ago
- Milestone Unassigned deleted
if you use plugins_api() from within wordpress, it sends the current WP version along in the request.
If you're making a request from non-WP, and would like to know about another version, just changing the url param should suffice.
What use-case is there at present for individual queries from WP for a different WP version?