• Resolved Anonymous User 13711045

    (@anonymized-13711045)


    I’m on the latest version of Woo and WP. A recent update has caused all of the backend scripts to load on the frontend now. For instance, wp-dom-ready, wp-a11y, wp-primitives, etc. are all being loaded on the frontend even for not logged in users. This is obviously bad for page speed. How do I fix this?

    I’m also getting an error in the dev console:

    Uncaught TypeError: Cannot read properties of undefined (reading 'use')

    Which is caused by this javascript that is being output which should only be in the backend.

    wp.data.use(wp.data.plugins.persistence, {

    This seems to be a pretty big issue.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Backend Scripts Showing on Frontend’ is closed to new replies.