wp-admin breaks when using defer javascript option
-
When we Add the defer attribute to JavaScript files, the wp-admin breaks.
Console logs
Uncaught ReferenceError: wp is not defined
Uncaught ReferenceError: acf is not defined
Uncaught ReferenceError: tinymce is not defined
Uncaught TypeError: a is undefined
etc etcI don’t think it’s possible to defer js files in backend. Perhaps you should only check for frontend.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp-admin breaks when using defer javascript option’ is closed to new replies.