Skip to content
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

Add delete transients #139

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Add delete transients #139

merged 1 commit into from
Oct 23, 2024

Conversation

Ninodevo
Copy link
Contributor

@Ninodevo Ninodevo commented Oct 21, 2024

Changes proposed in this PR

  • Add option to delete transients
  • Delete all transients on plugin activation

Testing

  1. Create some action that will add some transients in the DB
  2. Install and activate Safety net
  3. The transients should be deleted

  1. Install and activate Safety net
  2. Create some action that will add some transients in the DB
  3. Go to Safety net options and use the button to delete all transients
  4. The transients should be deleted

  1. Install and activate Safety net
  2. Create some action that will add some transients in the DB
  3. Use the CLI command wp safety-net delete-transients
  4. The transients should be deleted

Mentions #137

@Ninodevo Ninodevo requested a review from nate-allen October 21, 2024 08:41
Copy link
Contributor

@nate-allen nate-allen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Tested and works great!

@Ninodevo Ninodevo merged commit 2197dbe into trunk Oct 23, 2024
@Ninodevo Ninodevo mentioned this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants