[buddypress-trac] [BuddyPress Trac] #5737: Problem with log out link

buddypress-trac noreply at wordpress.org
Mon Jul 7 15:12:55 UTC 2014

#5737: Problem with log out link
 Reporter:  slaFFik       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
 Install WordPress a bit differently, than usual: in a subdir. So `wp-
 admin` and `wp-includes` folders are in lets say `/wp` folder. Move `wp-
 content` out of `/wp` folder - one level up. So now `home_url()` is
 `http://site.com` and `site_url()` is `http://site.com/wp`.

 From this time `Log out` links generated by BuddyPress in (for example)
 wp-admin area Menu page will not work as expected. Log out link will
 generate a default redirect url to `site_url()`, which is wrong, and
 should be `home_url()`.

 Also in different part of the BuddyPress code different param is used for
 `wp_logout_url()`, which is not good.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5737>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list