Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Cole Geissinger

    (@brainfestation)

    Hi mmalfatti, this has been a pending… mysterious bug that I have been trying to catch and squash, but it’s been hard to exactly sort out. It appears to a bug with in the WP logout URL function…

    I plan to have this fixed in a future release.

    Thread Starter mmalfatti

    (@mmalfatti)

    Thanks for the reply. My solution is using the following for the login link (which works great):

    echo '<a href="#login-box" class="login wpml-btn login-window">Login</a>';

    And then some simple custom code for the logout link (which is also good, although not part of your plugin):

    ob_start();
    wp_loginout('index.php');
    $mylink = ob_get_contents();
    ob_end_clean();
    echo $mylink;

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with logout’ is closed to new replies.