Add a way to recover from maintenance mode

I recently discovered that when maintenance mode has been activated, there is no way to deactivate it, even by an authenticated administrator.
This is because the maintenance mode check is initiated in wp-settings.php, which is loaded directly by wp-config.php (so it applies to ALL requests, including admin, ajax and cron).
It would be useful to have a way for administrators to cancel maintenance mode without having to SFTP in to the site and remove the .maintenance file.
This would save a lot of time for those of use who manage many sites, especially from a central control panel like MainWP. If a MainWP plugin update times out for some reason, we have no option but to remove the .maintenance file before MainWP can reconnect to the site.


Read-only archive: Issues · ClassicPress/ClassicPress · GitHub

Author: zigpress

Vote count: 6

Status: open


Comments

This happens very rarely, I don’t think it warrants a special feature to disable. As indicated above, you can either delete maintenance file manually or ask your host to do it. This can also be a nice plugin for those who may need it.

This topic was automatically closed after 3 days. New replies are no longer allowed.