Search widget has double lang param in url v2.9.5
-
Hi,
Thank you for all the fix provided.
The search doesnt work because of a double langage param in the url with the version 2.9.5.
Ex : https://siteurl/en/en/?s=searchFile qtranslate_kooks.php line 126
$form = preg_replace('#action="[^"]*"#','action="'.trailingslashit(qtranxf_convertURL(get_home_url())).'"',$form);
I think that it applies 2 time the translation because get_home_url() is already hooked.
It can be fixed by removing the qtransxf_convertURL :
$form = preg_replace('#action="[^"]*"#','action="'.trailingslashit(get_home_url()).'"',$form);
Bruno
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Search widget has double lang param in url v2.9.5’ is closed to new replies.