Skip to:
Content

bbPress.org

Changeset 3626


Ignore:
Timestamp:
11/20/2011 10:15:36 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Fix subfolder redirect issue on login/logout. Fixes #1645. Props !Mamaduka.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-common-functions.php

    r3591 r3626  
    11841184        }
    11851185
    1186         $redirect_to = home_url( isset( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : '' );
     1186        $redirect_to = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    11871187
    11881188        // Sanitize $redirect_to and add it to full $url
Note: See TracChangeset for help on using the changeset viewer.