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

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 7 years, 7 months ago by  Dominic Self.