WP Remove Query Strings From Static Resources

Changelog

2.4

  • Added: Strict file extension checking to ensure only .css and .js files are processed, protecting dynamic PHP scripts.
  • Added: Safely ignores external resources to prevent breaking third-party APIs like Google Maps.
  • Improved: Internal code structure and reliability.

2.3

  • Plugin check issues fixed
  • Improved code

2.2

  • Fixed: Replaced unsafe strtok() with explode() to prevent conflicts with other plugins and WordPress core loops.

2.0

  • Improved: Removed unnecessary class property, filter callback now uses local variable
  • Improved: Strip all query string parameters (not just ?ver and &ver)
  • Improved: Plugin initialised via plugins_loaded hook for correct WP load order
  • Added: Requires PHP header (7.4)
  • Updated: Requires at least bumped to 5.0
  • Updated: Tested up to 7.0
  • Fixed: Typos and grammar in readme
  • Updated: Readme rewritten for better clarity and SEO

1.8

  • Remove additional class

1.7

  • Added additional class

1.6

  • Tested for WP 6.6

1.5

  • Tested for WP 6.3

1.4

  • Compatibility WP 6.0

1.3

  • 23 Feb, 2019
  • Text improved
  • Increase Version

1.2

  • 3 July, 2017
  • Code improved

1.1

  • 3 July, 2017
  • Compatibility issue

1.0

  • 29 June, 2017
  • First Release

Plugin Website
Visit website

Author
Rinku Y
Version:
2.4
Last Updated
July 11, 2026
Active Installs
3000
Requires
WordPress 5.0
Tested Up To
WordPress 7.0.1
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.