[wp-trac] [WordPress Trac] #56566: Fatal error when WP_REST_Server::dispatch() returns WP_Error
WordPress Trac
noreply at wordpress.org
Wed Sep 14 11:18:15 UTC 2022
#56566: Fatal error when WP_REST_Server::dispatch() returns WP_Error
--------------------------+------------------------------
Reporter: DaveFX | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 6.0.2
Severity: major | Resolution:
Keywords: | Focuses: rest-api
--------------------------+------------------------------
Changes (by DaveFX):
* keywords: has-patch =>
Comment:
Created PR #3242 that replicates the transformation from WP_Error to
WP_REST_Response already done in the serve_request() method
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56566#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list