Bug // Search and Search plugins e.g. Relevanssi


Hello BeTheme Developers / MuffinGroup,

As we were Testing a few Search plugins we came over some issues. It looks like you might have a Bug within your code. 

For Example, if you Search “betheme” in your demo (http://themes.muffingroup.com/betheme/?s=betheme). 

Problem 1: Title 
The title is broken. The search-string (in our example betheme) is missing. In the Title is a wrong stinrg:  ‘Search Results for “” ’ and not ‘Search Results for “betheme” ’.

Problem 2: 
Search-plugins wont get the search-string, as there is a strange behavior in the code. 
- > Possible Solution: Within the function mfn_search() the file functions/theme-functions.php  the search-string will be deleted if post were found with $search_query->set( ‘s’, false ); on line 1962.

Best, 
Ralf 

Comments

Sign In or Register to comment.