Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/23/2014 07:16:53 PM (10 years ago)
Author:
r-a-y
Message:

Replace wp_guess_url() with bp_get_requested_url().

wp_guess_url() doesn't work well with subdirectory installs and anyway,
bp_get_requested_url() is superior!

Fixes #5737.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-adminbar.php

    r8677 r8680  
    5252            'id'    => 'bp-login',
    5353            'title' => __( 'Log in', 'buddypress' ),
    54             'href'  => wp_login_url( wp_guess_url() )
     54            'href'  => wp_login_url( bp_get_requested_url() )
    5555        ) );
    5656
Note: See TracChangeset for help on using the changeset viewer.