Skip to content

Plugin loading unnecessary js on frontend? #2978

Description

@nikkoi

Describe the bug

I noticed that at least as of version 3.17.0 of the plugin, it loads hooks.min.js and i18n.min.js on the front end of wordpress. I can't see why these js files would be necessary for it to run, and if they are, can you please explain how they weren't needed before.

To Reproduce

  1. Install version 3.17.0 of the plugin.
  2. See the files hooks.min.js and i18n.min.js load on the front end, when logged out.

Expected behavior

I assume this files are only needed when logged in in wp-admin

Environment

Plugin version 3.17.0
WP version 6.7.1

Additional context

Loading unnecessary JS slows the web page down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wp-parselyRequired label for all issues

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions