• Tested on WordPress 3.6, PHP 5.4, TML 6.3.8.

    As a few posts have mentioned, when clicking logout we are faced with the “Are you sure” page followed by a closure of WP (That’s why it loops). The problem is caused by the nonce, and all other queries, being stripped from the URL as it’s being converted to permalink format.

    In class-theme-my-login.php change line 602 from $logout_url = self::get_page_link( 'logout' ); to $logout_url = self::get_page_link( 'logout', parse_url( $logout_url, PHP_URL_QUERY ) );. Problem solved.

    Also, minor bugs (more like PHP complaining while in strict mode), the get_object() methods of the classes have no default arguments yet the base class does. Changing them to get_object( $s = __CLASS__ ) return parent::get_object( $s ); Makes the warning go away.

    https://www.ads-software.com/plugins/theme-my-login/

  • The topic ‘Bug report and fix (Logout Loop)’ is closed to new replies.