[wp-trac] [WordPress Trac] #56566: Fatal error when WP_REST_Server::dispatch() returns WP_Error
WordPress Trac
noreply at wordpress.org
Wed Sep 14 19:40:02 UTC 2022
#56566: Fatal error when WP_REST_Server::dispatch() returns WP_Error
------------------------------+--------------------------------
Reporter: DaveFX | Owner: TimothyBlynJacobs
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.1
Component: REST API | Version: 4.4
Severity: normal | Resolution:
Keywords: needs-unit-tests | Focuses: rest-api
------------------------------+--------------------------------
Changes (by TimothyBlynJacobs):
* keywords: => needs-unit-tests
* version: 6.0.2 => 4.4
* severity: major => normal
Comment:
Thanks for the ticket @DaveFX!
There's a typo in the patch, it's using `$result` instead of `$response`.
Would you be interested in working on unit tests for this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56566#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list