a8cteam51 / safety-net

Scrub options, deactivate denylisted plugins, and delete user data on development sites.
20 stars 1 forks source link

Add delete transients #139

Closed Ninodevo closed 1 month ago

Ninodevo commented 1 month ago

Changes proposed in this PR

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