Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

“Are you sure you want to log out?”

This topic is resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • gil
    Participant
    • 23 Topics
    • 83 Posts
    @gill49

    Hi,
    When I log out properly (with the primary menu log out) I get a simple page that asks me if I really want to log out.

    How to prevent this page?

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 4836 Posts
    @themodactyl

    Hi Gil, 🙂

    I’m afraid I have no idea. 🤔

    Maybe these topics will help you to solve your issue as they seem to answer the same concern:

    Please note that this issue is related with the customization of third party plugins, not with the use of your theme. As theme authors, the installation, setting or debugging of third party plugins isn’t part of the support we will provide.

    We remain available for all support requests related with the use of your theme.

    Regards,

    gil
    Participant
    • 23 Topics
    • 83 Posts
    @gill49

    Hi !
    I found this code to put in the theme’s functions.php file. Apparently it does the job without breaking anything.

    // DÉSACTIVER LA CONFIRMATION DE DÉCONNEXION
    add_action(‘check_admin_referer’, ‘logout_without_confirm’, 10, 2);
    function logout_without_confirm($action, $result)
    {
    /**
    * Allow logout without confirmation
    */
    if ($action == “log-out” && !isset($_GET[‘_wpnonce’])) {
    $redirect_to = isset($_REQUEST[‘redirect_to’]) ? $_REQUEST[‘redirect_to’] : ‘https://broichessac.fr/’;
    $location = str_replace(‘&’, ‘&’, wp_logout_url($redirect_to));;
    header(“Location: $location”);
    die;
    }
    }

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 4836 Posts
    @themodactyl

    I’m glad to read you’ve been able to solve this Gil! 🙂

    Thank you for sharing the solution with us. I’m sure it will help other users facing the same issue. By doing this, you’re making a great contribution to this forum, and we thank you very much for that! #SharingIsCaring 💪🏻

    Best,

Roboraptor 🦖
Themosaurus Topic Closer

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘“Are you sure you want to log out?”’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.