When the plugin tries to update a record in WordPress and it fails, we've previously only logged the error message and the WordPress ID. This adds to that log message the Salesforce object ID and the parameters the plugin was trying to update.
How do I test this Pull Request?
one way would be to successfully sync two records and then delete the WordPress record without deleting the object map from the database.
The other is to code a value into $result['errors'] in the WordPress class right before it creates this log entry.
What does this Pull Request do?
When the plugin tries to update a record in WordPress and it fails, we've previously only logged the error message and the WordPress ID. This adds to that log message the Salesforce object ID and the parameters the plugin was trying to update.
How do I test this Pull Request?
$result['errors']
in the WordPress class right before it creates this log entry.