Skip to content

Remove data when uninstalling GiveWP #7670

Open
@richtabor

Description

@richtabor

User Story

As a user, I want to not have legacy GiveWP data laying around so that my site is less cluttered with data I'm no longer using.

Details

Ensure that all GiveWP data, including custom database tables and settings are removed when the plugin is uninstalled. This aligns with user expectations and best practices for plugins that offer a complete uninstall process.

Expected Behavior

All GiveWP data, including custom tables, settings, and files, is completely removed when the plugin is uninstalled.

If retaining data is beneficial (e.g., for backups or future reinstallation), plugins often include an option to keep data during uninstallation, leaving the choice up to the user.

Steps to Reproduce

  1. Install and activate the GiveWP plugin.
  2. Configure plugin settings and create test data.
  3. Deactivate and uninstall the plugin.
  4. Check the database and file system for residual GiveWP data.
  5. See user roles for a UI-facing example of residual data.

Visuals

GiveWP is no longer installed on this site:

CleanShot 2025-01-08 at 21 09 05

Additional Context

Was testing out GiveWP and ran into this after I finished.

Metadata

Metadata

Assignees

Labels

keep-fresh"Keep Fresh" issues should not be marked as stale.type: bugExisting functionality is broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions