Skip to content

questify v1.0.5

Choose a tag to compare

@github-actions github-actions released this 26 Dec 00:50
· 10 commits to main since this release

Fixed

  • AJAX Handler: Fixed nonce validation for non-logged-in users
    • check_ajax_referer() now uses false as third parameter
    • Prevents wp_die() on failed nonce check
    • Returns friendly JSON error message instead
    • Affects all frontend AJAX handlers: handle_get_answer(), handle_send_inquiry(), handle_get_faq_by_id(), handle_rate_answer()
  • Frontend: Chat now works for non-logged-in visitors
    • No more "Connection error" message for regular visitors
    • Error message "Security check failed" with hint to reload page

Changed

  • Security: Improved error handling for nonce validation
    • Admin AJAX handlers keep hard nonce check (only for logged-in admins)
    • Frontend AJAX handlers use soft nonce check (for all visitors)