Viewing 3 replies - 1 through 3 (of 3 total)
  • giorgiepitashvili

    (@giorgiepitashvili)

    Hello @preston

    You will need File Manager Plugin to update <span style=”text-decoration: underline;”>wp-search-suggest.php</span> file inside this plugin’s directory.

    You just need to comment or remove 86 line code:

    add_action('wp_ajax_nopriv_wp-search-suggest', 'ajax_response');

    and add this line of code:

    add_action('wp_ajax_nopriv_wp-search-suggest', 'wpss_ajax_response');

    This change ensures that the correct function, “wpss_ajax_response,” is used for non-logged-in users when handling AJAX requests.

    Plugin Author Konstantin Obenland

    (@obenland)

    Oh, I got a typo in the filter callback ??

    I’ll push a fix, thanks for the heads up.

    Plugin Author Konstantin Obenland

    (@obenland)

    This should be fixed in version 8.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only Works When Logged In’ is closed to new replies.