One more idea !
In order to avoid errors when renaming or deleting statuses (so they do not disappear) . – Why do not you do – automatically reset to the standard status of published. This is easier than having to search for and restore the status.
Hi @vipoxofni
Thanks for your ideas, however the plugin is only meant to manage statuses and not to extend the core function of statuses in its properties. Customizations to the color and appearance of your posts or pages with a custom status should not be done through this plugin, as they have no general validity. Not everyone will need a border color or icon for their status, so that would be unnecessary overhead within the plugin.
If you are a bit familiar with the code behind WordPress, you can use a status to make changes in your template.
The function get_post_status() returns the current status of a post or a page, so you can specify there in the template that an icon or a frame etc. should be output.
I’ll take a closer look at your second suggestion. I’m not 100% happy with the current solution myself, but simply setting all posts to “published” when uninstalling the plugin isn’t an ideal solution either. Maybe a process needs to be attached to the deactivation, so that you can specify how the status is handled when the plugin is uninstalled. I will think about this again. Thanks for the suggestion!
Greetings Felix