This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: url parameter is getting changed from ?s= to ?phrase= while implementing the plu

Home Forums Product Support Forums Ajax Search Pro for WordPress Support url parameter is getting changed from ?s= to ?phrase= while implementing the plu Reply To: url parameter is getting changed from ?s= to ?phrase= while implementing the plu

#32126
jsamal29jsamal29
Participant

Hi Ernest,

Finally some good news. We got the script to load when we removed “wp-hooks” from the “wp_register_script” dependency in (./ajax-search-pro/includes/classes/core/class-asp-init.php:516).

wp_register_script(
‘wd-asp-ajaxsearchpro’, ASP_URL . “js/” . $js_source . “/jquery.ajaxsearchpro” . $minify_string . “.min.js”,
array(‘jquery’, ‘wp-hooks’),
$media_query,
$load_in_footer);

So now the script is working fine and the functionalities seems to work fine as of now. But my concern is as we have removed a dependency “wp-hooks” from wp_register_script, so will it impact anything?

Thanks
Jyotiranjan