coyote-team / coyote-wp

Wordpress Plug-in for Coyote
2 stars 2 forks source link

How to handle long-running deactivation process? #43

Closed jkva closed 4 years ago

jkva commented 4 years ago

In cases of installations where the plugin modified thousands of posts, restoring the original alt text can cause the plugin deactivation to time out.

It might make more sense to have the "restore original content" option be an explicit tool on the settings page, so it can work similarly to batch post processing and have its progress monitored.

sinabahram commented 4 years ago

+1 to this suggestion. Do the batch first, if requested, then deactivation is not dependent on this. Plus, this makes things more explicit anyways.

jkva commented 4 years ago

No longer relevant as per filter implementation.