• Hi. I set up the plugin to work on our staging server (HTTP), and then copied everything over to our live server (HTTPS). It worked fine on staging, but on the live server, the spinner would spin but no results would appear.

    I hacked the plugin code directly (in class-daves-wordpress-live-search.php), which I know is not a good thing, but I was able to get it to work by changing line 180 from:

    ‘ajaxURL’ => admin_url( ‘admin-ajax.php’, is_ssl() ),

    to:

    ‘ajaxURL’ => admin_url( ‘admin-ajax.php’ ),

    I’m not a plugin programmer, but it seems that the is_ssl() function isn’t doing anything in that line. Can you either clarify, or edit that line in the next version? Thanks!

    https://ww.wp.xz.cn/plugins/daves-wordpress-live-search/

The topic ‘Plugin wasn't working under HTTPS’ is closed to new replies.