-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize the process of deleting AMP data during uninstallation #6840
Optimize the process of deleting AMP data during uninstallation #6840
Conversation
Plugin builds for ab388a3 are ready 🛎️!
|
a956171
to
25e2337
Compare
The broken unit test case is not related to changes in the current PR. |
1dece18
to
cf26652
Compare
This has been addressed 825a555 by Weston |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
For the sake of being exceedingly careful, I've added tests for each uninstall function to check that they individually are behaving as expected. So we have basically two sets of tests now that are checking and re-checking that uninstall is removing only the expected data and leaving everything else as-is. |
Summary
Fixes #6826
This PR optimized the process of deleting AMP data during uninstallation. Instead of deleting posts and terms one by one with the WordPress function, it will run the DELETE query directly to the database to delete records.
Checklist