Opened 16 years ago
Closed 16 years ago
#178 closed defect (bug) (fixed)
BuddyPress under subdirectory breaks login form post
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
I just setup a vanilla install of BuddyPress in a subdirectory on a subdomain of my primary domain. You can view the install here:
http://demo.webdevstudios.com/buddypress/
Notice the login form is posting to /wp-login.php like so:
<form id="login-form" method="post" action="/wp-login.php" name="login-form">
This breaks the form as it should be posting to /buddypress/wp-login.php.
Change History (2)
Note: See
TracTickets for help on using
tickets.
In the buddypress theme folder edit the header.php file at line 34
buddypress-theme\buddypress-home\header.php:34
What was originally
<form name="login-form" id="login-form" action="<?php get_option('home') ?>/wp-login.php" method="post">
should be changed to
<form name="login-form" id="login-form" action="<?php echo site_url() ?>/wp-login.php" method="post">
I don't know why the home option is blank, but this is a temp fix.