Implement uninstall cleanup of options and transients #5
Labels
No labels
area: build
area: ci
area: compare
area: model
area: plugin
area: provenance
area: rite
area: settings
area: ui
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Ordo#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A clean uninstall must remove all plugin-owned options, transients, and rewrite state so nothing is left in the database when a site administrator removes Ordo.
Acceptance criteria
Notes
Keep the option prefix consistent so cleanup can target it precisely.
Done in #105. uninstall.php removes every ordo_-prefixed option and transient (and timeout twins), multisite-aware (per-site + network sitemeta), guarded by WP_UNINSTALL_PLUGIN so it runs only via the uninstall hook.