Repository navigation
Releases
Releases · zerosonesfun/wordpress-frontend-loader
Footings
Foundation
Foundation
Foundation
Foundation
Foundation
Foundation
- Cleaning code for submission to WordPress
- Added settings page
Foundation
- Preparing code for submission to WordPress
- Adding settings page (incomplete - next release will have settings page)
Regrade
- Error Handling Enhancement: Modified the script to address an issue with
options.data.indexOfcausing a TypeError whenoptions.datawas not a string, by adding type checks and conversions for object andFormDatainstances. - Enhanced AJAX Data Handling: Improved the handling of
options.datato gracefully handle various data types (string, object,FormData) without breaking other scripts or forms, especially when submitting a contact form. - Selective Spinner Display for AJAX Requests:
- Added explicit checks to display the spinner for
FormDatainstances, typically associated with form submissions. - Ensured that AJAX requests with non-standard data types fail gracefully, avoiding script errors and allowing other scripts to run smoothly.
- Added explicit checks to display the spinner for
- Heartbeat API Ignoring Logic: Refined the logic for ignoring WordPress heartbeat API calls to prevent unnecessary display of the loader overlay during such background requests.