Closed jorgemd24 closed 1 month ago
Attention: Patch coverage is 62.50000%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 64.6%. Comparing base (
e42f728
) to head (e9313eb
). Report is 5 commits behind head on feature/google-api-project.:exclamation: Current head e9313eb differs from pull request most recent head 7ff8a9e
Please upload reports for the commit 7ff8a9e to get more accurate results.
Changes proposed in this Pull Request:
Currently, if the plugin is deactivated, the WPCOM token is not revoked, allowing the partner to continue querying the API. This PR ensures that the WPCOM token is revoked when the plugin is deactivated.
Screenshots:
Detailed test instructions:
add_filter( 'woocommerce_gla_notifications_enabled', '__return_true' );
https://wordpress.com/me/security/connected-applications
https://wordpress.com/me/security/connected-applications
and that the App is not connected anymore.Additional details:
Changelog entry