Specific script not loading into manager
-
wp_enqueue_script('cookies','//cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js', array('jquery'));On our UAT site, the above script is successfully hashed / managed. In production, it is not. This is the only script that is not captured on one vs the other; for example the following enqueued script is managed successfully in both environments:
wp_enqueue_script('dataTables','//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js', array('jquery'));I have tried disabling the few production plugins that are different than UAT’s environment (namely, Autoptomize and WP Super Cache) and this does not seem to change anything. Any thoughts on where to look for a solution to force this js.cookie.min.js to be recognized would be great.
The page I need help with: [log in to see the link]
The topic ‘Specific script not loading into manager’ is closed to new replies.