Hi @wfpeter,
thank you for your reply.
Code snippet (extra code to filter the Fibosearch results, provided by the Fibosearch author) is manually added via Code Snippet plugin instead of modyfing functions.php.
When testing on staging website (Wordfence inactive) it works as expected, but when testing on live website it doesn’t work.
Test results on live website:
1) Wordfence ON + WAF ON learning mode + Code Snippet ON -> no Fibosearch result is displayed, it keeps searching
2) Wordfence ON + WAF OFF + Code Snippet ON -> no Fibosearch result is displayed, it keeps searching
2) Wordfence OFF + Code Snippet ON -> Fibosearch results as expected (with extra filtering added by the code snippet)
3) Wordfence ON + Code Snippet OFF -> Fibosearch results as plugin default (obviosly without extra filtering option, since the script is off)
Check on Wordfence> Tools> Live Traffic> no event related to this actions is displayed
So there is some sort of incompatibility between this extra code and Worfence, but Firewall doesn’t seem to get involved.
Piece of code which seems to be involved is:
add_filter( 'dgwt/wcas/scripts/custom_params', function ( $params ) {
$author = fibosearch_get_product_author();
$params['author'] = $author;
return $params;
} );
If I comment this piece of code and keep Wordfence ON I get no issue (but of course I got no extra filtration).
The fibosearch_get_product_author() function is also called by an add_action but gives no issue.