Viewing 1 replies (of 1 total)
  • Plugin Contributor Steve Taylor

    (@gyrus)

    I’m not quite sure I understand this issue – in any case, I can’t replicate it.

    The scripts that I see being loaded in admin with this plugin activated are like this in the header:

    <script type='text/javascript' src='https://domain.com/wp-content/plugins/force-strong-passwords/force-zxcvbn.min.js?ver=1.0'></script>
    <script type='text/javascript' src='https://domain.com/wp-content/plugins/force-strong-passwords/js-admin.min.js?ver=1.0'></script>

    They’re both enqueued properly and work fine. I can’t find any script reference that resembles the first <script> line you’ve included here.

    Also, you reference an installation with the plugin in mu-plugins, and I’m not sure this plugin would work properly in mu-plugins. If you’re using it in that way, it would need a bit of adaptation (e.g. file paths because the main PHP file would need to go in the mu-plugins root) – and I would need a few more details to help.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin adds incorrect script in the admin’ is closed to new replies.