-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I don't believe that $ticketId in insertTicket will ever be WP_Error because wp_insert_post's second argument $wp_error is false.
importer/src/Importer/Inserter.php
Line 135 in 40de7e0
| $ticketId = wpas_insert_ticket([ |
This will require a fix to wpas_insert_ticket which is part of Awesome Support plugin (not the importer).
The same goes for $response in insertHistoryItem, it is missing the second argument $wp_error which should be true:
importer/src/Importer/Inserter.php
Line 270 in 40de7e0
| $response = wp_update_post([ |
Metadata
Metadata
Assignees
Labels
No labels