Skip to:
Content
Pages
Categories
Search
Top
Bottom

[help] Link Log out error after bbPress installed

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    This issue is also reported in:

    Logout error when bbPress plugin is active

    The fix in that topic didn’t work for me and bbPress consistently causes an additional directory name to be included in the logout URL.

    Is there a fix for this?

    Thanks,

    Jon

    I found this is a known issue logged in Ticket #1645.

    The fix is to edit the following file:

    bbp-includes/bbp-common-functions.php

    Line 1074 should be changed from:

    $redirect_to = home_url( isset( $_SERVER ) ? $_SERVER : ” );

    To:

    $redirect_to = ( is_ssl() ? ‘https://’ : ‘http://’ ) . $_SERVER . $_SERVER;

    That fix worked for me.

    Hopefully this will be included in the official release soon.

    Jon

    This is fixed in the upcoming 2.1 release :)


    iamhuyngo
    Blocked

    @iamhuyngo

    Thanks Jon, your solution help me.


    Hitze
    Participant

    @hitze

    Delete Row 1302 “$url = add_query_arg( array( ‘redirect_to’ => urlencode( $redirect_to ) ), $url );”

    It works for me…. 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.