[wp-trac] [WordPress Trac] #60783: plugins_api() and parameters
WordPress Trac
noreply at wordpress.org
Mon Mar 18 04:04:23 UTC 2024
#60783: plugins_api() and parameters
----------------------------------------+-----------------------
Reporter: juliobox | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.6
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: docs
----------------------------------------+-----------------------
Comment (by dd32):
Just noting that the underlying API is fairly stable; but the default
returned parameters differ between API endpoint requested (version +
action), some are dependant upon one another, others will be returned no
matter what the client specifies, some are dependant upon the WP version,
etc
The API in question is bootstrapped by this code which manages the fields
parameter:
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api-
request.php
The API may change in behaviour (including fields returned, and the format
of them) if WordPress gracefully handles the new data (and in the case of
extra fields, it's never an issue).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60783#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list