Implement activation, deactivation, and rewrite-flush hooks #4
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#4
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
Pretty /ordo/ pages need rewrite rules registered and flushed at the right moments, and the plugin must clean up scheduled state on deactivation without destroying user data.
Acceptance criteria
Notes
Flush only on activation/deactivation, never on every request.
Done in #105. Activation registers the /ordo/YYYY-MM-DD/ rewrite rule and runs a one-time flush; deactivation flushes to clear the stale route; option seeding uses add_option (idempotent — re-activation never duplicates); no options deleted on deactivation.