Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QBO: Only access ID for successful responses to avoid fatal error
ba7fa61 refactored this function, but accidentally started accessing the `Id` field before checking if the response was a `WP_Error`. That triggers a fatal error because it's treating an object like an array.
- Loading branch information