Title: Plugin adds incorrect script  in the admin
Last modified: August 21, 2016

---

# Plugin adds incorrect script in the admin

 *  [hvdesign](https://wordpress.org/support/users/hvdesign/)
 * (@hvdesign)
 * [12 years ago](https://wordpress.org/support/topic/plugin-adds-incorrect-script-in-the-admin-1/)
 * When activating this plugin I get a new script line loaded in this way:
 * <script type=’text/javascript’ src=’[http://www.domain.coms?ver=1.0′></script&gt](http://www.domain.coms?ver=1.0′></script&gt);
 * which never ends to load and make the admin panel very slow. No matter the domain
   or the extension always adds the final “s?ver=1.0”
 * I’ve compared with other sites the and it’s missing the complete path which should
   be something like:
 * /wp-content/mu-plugins/force-strong-passwords/js-admin.min.js?ver=1.0
 * Anyone else is getting this? How could I fix it?
 * Thanks.
 * [https://wordpress.org/plugins/force-strong-passwords/](https://wordpress.org/plugins/force-strong-passwords/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Steve Taylor](https://wordpress.org/support/users/gyrus/)
 * (@gyrus)
 * [12 years ago](https://wordpress.org/support/topic/plugin-adds-incorrect-script-in-the-admin-1/#post-4884598)
 * 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='http://domain.com/wp-content/plugins/force-strong-passwords/force-zxcvbn.min.js?ver=1.0'></script>
       <script type='text/javascript' src='http://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.

 * ![](https://s.w.org/plugins/geopattern-icon/force-strong-passwords_646c75.svg)
 * [Force Strong Passwords](https://wordpress.org/plugins/force-strong-passwords/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/force-strong-passwords/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/force-strong-passwords/)
 * [Active Topics](https://wordpress.org/support/plugin/force-strong-passwords/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/force-strong-passwords/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/force-strong-passwords/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steve Taylor](https://wordpress.org/support/users/gyrus/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/plugin-adds-incorrect-script-in-the-admin-1/#post-4884598)
 * Status: not resolved