Closed arvilmena closed 4 years ago
Routes return WP_Error|WP_REST_Response not WP_Error|WP_REST_Request
WP_Error|WP_REST_Response
WP_Error|WP_REST_Request
affected methods: create_item(), update_item() and delete_item()
create_item()
update_item()
delete_item()
Thanks for the patch @arvilmena!
Routes return
WP_Error|WP_REST_Response
notWP_Error|WP_REST_Request
affected methods:
create_item()
,update_item()
anddelete_item()