Reply To: Broken preview, calling wrong site URL

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Broken preview, calling wrong site URL Reply To: Broken preview, calling wrong site URL

#1744
Dominic Self
Dominic Self
Participant

Ah, I think I’ve found the bug!

In ajax-search-pro/backend/search.php, line 23:

var ajaxurl = ‘<?php bloginfo(“url”); ?>’ + “/wp-content/plugins/ajax-search-pro/ajax_search.php”;

it should say:

var ajaxurl = ‘<?php bloginfo(“wpurl”); ?>’ + “/wp-content/plugins/ajax-search-pro/ajax_search.php”;

🙂

  • This reply was modified 8 years, 2 months ago by Dominic Self Dominic Self.