WordPress.org

Forums

WP Maintenance Mode
Cool, has one bug, and not useful during manual upgrade (3 posts)

  1. knzoknzo
    Member
    Posted 2 years ago #

    This is a very cool and nicely configurable plugin.

    One bug fix needed:
    site.php, line 95:
    Change this:
    <?php bloginfo('url') ?>
    to this:
    <?php echo site_url(); ?>

    Otherwise, the countdown timer won't work, if your Site Address isn't at the root of your site (i.e. if need to use /wp/wp-includes...).

    And, you can't fully rely on this plugin for any serious WordPress maintenance (such as a manual upgrade), because the plugin is part of WordPress and thus requires WordPress to be in a functional state. An all-purpose solution would involve an .htaccess rule that temporarily redirects to a static HTML files, thus not depending on WP at all.

    But, if you have to do it within WordPress, this plugin is great!

  2. Frank
    Member
    Posted 2 years ago #

    Thanks for feedback. Currently I had include this change in the current dev version. Maybe you will leave a test and give feedback?
    https://github.com/bueltge/WP-Maintenance-Mode

  3. knzoknzo
    Member
    Posted 2 years ago #

    I looked over your dev change, and it looks good! I won't have time to test, but this is definitely the change I was asking for. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Maintenance Mode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.