[wp-trac] [WordPress Trac] #20615: Unknown error when running plugins_api() with invalid slug
WordPress Trac
noreply at wordpress.org
Thu Sep 17 20:29:30 UTC 2020
#20615: Unknown error when running plugins_api() with invalid slug
-----------------------------+------------------------------
Reporter: scribu | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
-----------------------------+------------------------------
Changes (by pbiron):
* status: reopened => closed
* resolution: => fixed
Comment:
As of [42631], core has been using API version 1.2, which correctly
handles this case. Thus, `plugins_api()` returns the correct `WP_Error`
instance.
Closing as fixed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20615#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list