I have a little problem with display the real search string was write in the search field.
Example:
In the /themes/basic/search.php
var_dump($_POST);
array(1) {
["words"]=>
string(17) "000 "222 111" 333"
}
echo $_REQUEST['words'];
000 "222 111" 333
echo getSearchWords()
"000 222 111 333"
When i edit the function getSearchWords()
in the /zp-core/class-search.php
it's the same result.
function getSearchWords() {
return $_REQUEST['words'];
}
or
function getSearchWords() {
return $_POST['words'];
}
The real search string should be displayed.
000 "222 111" 333
Who or what removes the quotation marks?