#3968 closed defect (bug) (no action required)
Post Search doesnt work when register page is set to homepage
Reported by: | tislam100 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.5.3 |
Component: | Core | Keywords: | |
Cc: |
Description
The Post Search function is not working when register page is set to homepage.
Go to Settings> Reading and set the "Register Page" as custom front page and then try to search posts using the default search form and it takes you back to home page.
The members/groups search works fine though.
Tested with Buddypress 1.5.3 and Wordpress Version 3.3.1
Using the default buddypress theme.
Change History (6)
#4
@
13 years ago
Possible fix:
Replace this line in the search form:
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
with this:
<form role="search" method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
Note: See
TracTickets for help on using
tickets.
Tested this just now again with a default Buddypress/wordpress installation. The BUG exist.