-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove activity logs after logging out #19930
Conversation
You can test the changes in WordPress from this Pull Request by:
|
You can test the changes in Jetpack from this Pull Request by:
|
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.
@staskus LGTM and nice refactor + encapsulation into functions! 👍
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.
All tests passed. ✅
Do we keep removed site logs in case 3 on purpose? I think we can remove them if it's easy to filter logs related to the removed site.
@irfano thanks for testing! Not on purpose. We don't filter these activity logs by blogs, so if we switch between sites, we will have one set of logs. |
Fixes #19913
Description
We do not delete activity logs when logging out.
Handling 2 cases:
Testing instructions
Case 1: WP.com accounts:
Case 2: Self-hosted site
Case 3: Multiple sites, removing self-hosted site when more sites are available
Regression Notes
Disrupting logout or site removal flows
Manually testing that account logout and site removal process continue working smoothly. Inspecting activity logs.
None
PR submission checklist:
RELEASE-NOTES.txt
if necessary.