• Resolved Bri

    (@tinnyfusion)


    Hi, very quick question. As per the title, I am running WordPress 6.4.3 (latest at the time of writing) but with your plugin active I then log out and try viewing my site to find the homepage instead of the Main message..

    Tried from a different device disconnected from my home network and in an in-private session of Edge but both are showing the site.

    I’ve also cleared the cache but no change…

    For context, if I disable your plugin and manually add the following to my functions.php it works just fine..

    // Maintenance Mode
    add_action('get_header', function() {
    if(!current_user_can('manage_options')){
    		wp_die('<h1>Under Maintenance</h1><br />Website under planned maintenance. Please check back later.', 'Under Maintenance', array('response' => '503'));
    	}
    });
    • This topic was modified 8 months ago by Bri.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Johannes

    (@wpdocde)

    The plugin is currently tested up to WordPress 6.5.

    Thread Starter Bri

    (@tinnyfusion)

    Firstly, thank you for your reply and confirmation that the version of WordPress I am running (and beyond) is compatible with your plugin.

    As an addendum to my original post, I have no other plugins running other than Contact Form 7 and Flamingo.

    Are you able to offer any suggestions as to why the above may be happening?

    Thanks

    Plugin Author Johannes

    (@wpdocde)

    Can you provide a link to the website?

    Thread Starter Bri

    (@tinnyfusion)

    Sure, here you go: Removed as no longer relevant

    Plugin Author Johannes

    (@wpdocde)

    I see the maintenance mode message when I visit this website.

    Thread Starter Bri

    (@tinnyfusion)

    Hmm, must be something to do with cache then. I see the site here from my phone, my partners phone, her iPad and my laptop…

    Thank you for letting me know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Does this still work with WordPress 6.4.3?’ is closed to new replies.