Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unarchive content on uninstall #27

Open
joshuadavidnelson opened this issue Dec 16, 2023 · 0 comments
Open

Unarchive content on uninstall #27

joshuadavidnelson opened this issue Dec 16, 2023 · 0 comments
Assignees
Milestone

Comments

@joshuadavidnelson
Copy link
Owner

From this support forum post:

Was wondering if an update could be made to change the “archive” status of all archived posts to “draft”? At least that way, the post won’t be displayed but we’ll still be able to retrieve it even though it is in “draft”. But then I’m thinking, what if like the scenario above, the individual re-installs the plugin? It won’t be easy to change all the “draft” statuses back to “archive”.

What if on deactivation, the user is informed that their archived posts will be hidden but nothing is changed. It could be that the user is deactivating plugins to figure out a problem. But on uninstall, you pull the number of archived posts. If it’s over a certain threshold (let’s say 100), then a message is given to the user to manually change the archived posts to something else.

Or, the other option they get is to have it done automatically (with a warning that it will take a long time). If it’s less than or equal to 100 posts, then the plugin automatically switches everything to draft. Maybe that will help address the scenario of thousands of archived posts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant