Title: Minify plugin breaks my plugin code
Last modified: August 21, 2016

---

# Minify plugin breaks my plugin code

 *  [Paul Menard](https://wordpress.org/support/users/pmenard/)
 * (@pmenard)
 * [13 years ago](https://wordpress.org/support/topic/minify-plugin-breaks-my-plugin-code/)
 * Greetings. I’m banging my head against the wall on this one.
 * I had a user report that when they install your minify plugin my own plugin stops
   working. I’m not getting any errors in JS. The code just does not kick off.
 * Below are links to two site within my test Multisite system.
 * [http://site4.media-tags.com/chat/](http://site4.media-tags.com/chat/)
    This 
   site is running my chat plugin and NOT running your Minify plugin.
 * [http://site5.media-tags.com/chat/](http://site5.media-tags.com/chat/)
    This 
   site is running the same chat plugin and IS running your minify plugin.
 * When I view in Firebug I can see the JS files for my plugin. But again not seeing
   why they are not working. The other curious thing is I can use an online minify
   tool and the plugin still seems to function.
 * [http://wordpress.org/extend/plugins/bwp-minify/](http://wordpress.org/extend/plugins/bwp-minify/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [13 years ago](https://wordpress.org/support/topic/minify-plugin-breaks-my-plugin-code/#post-3757757)
 * Hi there,
 * Would you mind sharing how your Chat plugin work? Also have you tried separating
   chat.js so that it is minified separately? (you can do that in the setting page).
 *  Thread Starter [Paul Menard](https://wordpress.org/support/users/pmenard/)
 * (@pmenard)
 * [13 years ago](https://wordpress.org/support/topic/minify-plugin-breaks-my-plugin-code/#post-3757790)
 * Thanks for the response.
 * The plugin works like any other plugin. It registers and enques some JS and CSS
   files. The JS files are setup to load in the footer.
 * I have tried separating and/or excluding the chat.js. But again I’m getting reports
   from users of my plugin and it takes time to reply to each of them how/what to
   exclude. So I’m looking to solve this mystery and figure out why my JS does not
   seem to like what magnification processing does to it.
 * I can provide a zip file of the plugin. Or provide access to a public site where
   you can see more details.
 * Any help you can provide would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Minify plugin breaks my plugin code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bwp-minify.svg)
 * [Better WordPress Minify](https://wordpress.org/plugins/bwp-minify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bwp-minify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bwp-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/bwp-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bwp-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bwp-minify/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Paul Menard](https://wordpress.org/support/users/pmenard/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/minify-plugin-breaks-my-plugin-code/#post-3757790)
 * Status: not resolved