Skip to content

1.0.2: fix: resolve popup configuration timing issue

Choose a tag to compare

@TBarregren TBarregren released this 23 May 14:16
· 3 commits to main since this release
Move JavaScript enqueueing from wp_enqueue_scripts to wp_footer to ensure
shortcode processing completes before popup configurations are localized
to JavaScript. CSS is still enqueued early for optimal loading.

- Split asset enqueueing into CSS (early) and JS (late) phases
- Add enqueue_popup_data() method for wp_footer hook
- Fixes empty kntntPopupData.popups array issue