Description
📑 Feature Proposal: Add Federation On/Off Toggle with 30-Day Cooldown and Follower Reset
Summary
Introduce a federation on/off toggle for the WordPress ActivityPub plugin.
When federation is disabled:
- Reactivation is blocked for 30 days.
- Followers and following lists are cleared.
- A clear warning message is shown before deactivation.
Also, when a blog/user handle is changed, federation will be disabled for 30 days with the same restrictions applied.
Why This Is Needed
-
Inspired by Threads’ fediverse opt-out behavior:
-
https://www.threads.com/settings/fediverse
“You stopped sharing to the fediverse on May 26, 2025.
You’ll be able to turn sharing back on after 30 days.” -
Solves these related issues:
- [#566 How to remove the fediverse-account for my closed weblog?](How to remove the fediverse-account for my closed weblog? #566)
- [#508 Feature Request: To completely delete ActivityPub profile when uninstalling plugin](Feature Request: To complete delete the ActivityPub when uninstall the plug-in #508)
-
Prevents lingering account data on federated instances by providing a 30-day cache expiry period.
-
Ensures handle changes don’t result in orphaned profiles or broken federation relationships.
How It Works
-
New Federation On/Off toggle in plugin settings:
-
When turned Off:
-
Federation stops immediately.
-
Followers/Following lists are reset (locally).
-
A warning message appears:
⚠️ Disabling federation will remove all followers and following records.
You won’t be able to turn it back on for 30 days. -
Toggle becomes disabled (grayed out) for 30 days.
-
-
After 30 days:
- User can manually re-enable federation.
- New federation connections start fresh.
-
-
On handle changes (site or user handle):
- Federation automatically turns Off for 30 days.
- Followers/Following lists cleared.
- Resume federation automatically after cooldown.
-
Cooldown timing is based on server-side timestamp (not client clock) to prevent circumvention.
Optional Enhancements
- Add a log of federation status changes per site or user.
- Option to export following/reblogs before disabling federation (for archival/restoration).