Reinstated functions is_search_results_method() and contains_scripting() to infrastructure.php.