• Resolved lospeso

    (@lospeso)


    This is really important.

    As I was testing out the plugin to see how it works, I noticed that if the plugin gets deactivated or deleted, any post/page, that was using any status name created by the plugin, disappears from the WordPress Admin area (post or page list). It just cannot be found anywhere in the Admin area and no means to locate it.

    The only thing that works to ensure the post/page does not disappear is to keep it open in the editor, but that is not always the case.

    This means, any post or page that was held using the new status name, which is actually a draft mode, disappears from the post/page Admin list.

    A person would have to reinstall the plugin to find their missing (draft mode) posts/pages just to change their status name to the official “draft” to ensure they don’t loose their content when the plugin is deleted.

    Bug?
    Would this be a bug??

    Suggestion
    If this is not a bug.

    When the plugin is deleted, all post/pages are reset to the WordPress standard “draft mode”, so they are not lost.

    Of course, you would need to figure out what to do if someone is just deactivating the plugin for troubleshooting purposes. The reason here is their posts/pages don’t loose the new status names assigned to them.

    In the end, the key is their posts/pages are not lost and they are still accessible no matter if the plugin is installed or not.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Felix W.

    (@welly2103)

    Hi @lospeso

    thank you for your feedback!

    This is already described in the FAQ section “What happens when I delete a status or deactivate the plugin?”

    I think the plugin should reset the status to draft, if it gets deleted. I’ll fix this in the next release.

    Greetings Felix

    (I’ll have a look into your other threads in the next days, I’m a bit busy at the moment)

    Thread Starter lospeso

    (@lospeso)

    Thanks ??

    Plugin Author Felix W.

    (@welly2103)

    Hi @lospeso

    I have just released version 1.0.16. This version should solve exactly the addressed problem that posts are no longer available and findable as soon as the plugin was deleted and you have not reset the status to a system status before.

    Now all posts with a custom status are reset to draft mode when deleting (not when deactivating, here everything remains the same!).

    So it makes sense in my opinion. Does this fit for you?

    If you want to test this and give feedback again that would be great. Thanks for your effort.

    Greetings Felix

    Thread Starter lospeso

    (@lospeso)

    I updated the plugin, tested it, and … drat … still the same problem :(, the post/page disappears when the “Extended Post Status” plugin is deactivated.

    I tested it with the default WordPress theme (twenty-nineteen) and all other plugins deactivated.

    Plugin Author Felix W.

    (@welly2103)

    Hi @lospeso

    Have you disabled or deleted the plugin? The process when deactivating was not changed! Only when you delete the plugin the posts are reset to draft with a custom status.

    Greetings Felix

    Thread Starter lospeso

    (@lospeso)

    Both.

    I cannot bypass the deactivation to delete the plugin, I have to deactivate first then delete.

    The post/page still disappears. Whether deactivated, the post/page is gone (cannot find it), then delete the plugin, the post/page remains missing.

    When I reinstall the plugin and activate it, then the post/page reappears, still holding the custom status I assigned it.

    Thinking about this, maybe it is better to return the post/page to a draft status whether the plugin is deactivated or deleted (i.e. deleted by FTP). Then to reassign requires redoing that in the WordPress.

    • This reply was modified 3 years, 7 months ago by lospeso.
    • This reply was modified 3 years, 7 months ago by lospeso.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Must Default back to “Draft Mode” – Plugin Deactivated or Deleted’ is closed to new replies.