Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: WP search results page kills BP member widgets

@pcwriter

Participant

@nuhammadrid and anyone else experiencing this odd behavior:

Brajesh’s patch works just fine, but it requires a slight modification to bp-core-templatetags.php:

Replace this (line 131):
`if ( isset( $_REQUEST ) && !empty( $_REQUEST ) )
$search_terms = $_REQUEST;`

with this:
`if ( !is_search() && isset( $_REQUEST ) && !empty( $_REQUEST ) )
$search_terms = $_REQUEST;`

Skip to toolbar