Title: Script Duplication Bug
Last modified: February 24, 2024

---

# Script Duplication Bug

 *  [Oliver Campion](https://wordpress.org/support/users/domainsupport/)
 * (@domainsupport)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/script-duplication-bug/)
 * Hi,
 * We’ve found a little bug that probably only affects developers. When you edit
   one of the .js files in a site, the amended file is added to the merged javascript
   but in addition to the version that’s already there.
 * The temporary fix is press your “Purge All” button.
 * Oliver

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

 *  Thread Starter [Oliver Campion](https://wordpress.org/support/users/domainsupport/)
 * (@domainsupport)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/script-duplication-bug/#post-17907126)
 * Just a quick note to say that this bug still exists. Effectively, if a JS file
   is edited (and this may be the case for CSS too, we’ve not tested that) then 
   the plugin considers it to be a new file and seems to append it to the previous
   version rather than replacing.
 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/script-duplication-bug/#post-17907184)
 * Hi Oliver. I haven’t been able to replicate this. Do you have other plugins enabled
   that could be causing this?
 *  Thread Starter [Oliver Campion](https://wordpress.org/support/users/domainsupport/)
 * (@domainsupport)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/script-duplication-bug/#post-17907207)
 * OK, let me get more info to replicate the issue from a clean WordPress install
   and I’ll get back to you.

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

The topic ‘Script Duplication Bug’ is closed to new replies.

 * ![](https://ps.w.org/merge-minify-refresh/assets/icon.svg?rev=3414776)
 * [Merge + Minify + Refresh](https://wordpress.org/plugins/merge-minify-refresh/)
 * [Support Threads](https://wordpress.org/support/plugin/merge-minify-refresh/)
 * [Active Topics](https://wordpress.org/support/plugin/merge-minify-refresh/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/merge-minify-refresh/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/merge-minify-refresh/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Oliver Campion](https://wordpress.org/support/users/domainsupport/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/script-duplication-bug/#post-17907207)
 * Status: not resolved