Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/28/2012 10:27:01 PM (12 years ago)
Author:
djpaul
Message:

Add filter to bp_get_requested_url(). Fixes #4478, props calin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-functions.php

    r6342 r6355  
    12661266    $home_url = strtolower( home_url() );
    12671267
    1268     // Build the currently requested URL
    1269     $scheme        = is_ssl() ? 'https://' : 'http://';
    1270     $requested_url = strtolower( $scheme . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
     1268    $requested_url = bp_get_requested_url();
    12711269
    12721270    // Check the nonce
Note: See TracChangeset for help on using the changeset viewer.