General dependencies exclusions for Delay JavaScript execution

This article contains a list of general dependencies exclusions to be used in cases when the Delay JavaScript execution feature triggers any of the related JavaScript errors.

jQuery is not defined

\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |'|"|>|$)

f.hoverIntent is not a function

/wp-includes/js/hoverIntent.min.js

imagesLoaded is not defined

/wp-includes/js/imagesloaded.min.js

wp.template is not a function

/wp-includes/js/wp-util.min.js

mediaelementplayer is not a function

/wp-includes/js/mediaelement/

moment is not defined

/wp-includes/js/dist/vendor/moment.min.js

wp is not defined

/wp-includes/js/dist/api-fetch.min.js
/wp-includes/js/dist/hooks.min.js
/wp-includes/js/dist/i18n.min.js
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.