WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Minify

This plugin uses the Minify engine to combine and compress JS and CSS files to improve page load time.

1.2.0

  • Tested with 3.3.2
  • No longer showing attribution link by default.
  • Changed donation phrasing.

1.1.8

  • Removed unnecessary error_log line.

1.1.7

  • Set User Agent as "WP-Minify" when curling things.
  • Cleaned up some old code.
  • Added last modified time to pretty URLs.
  • Updating it_IT translation (thanks Gianni Diiurno!).
  • Added uk translation (thanks Jurko Chervony!).

1.1.6

  • Extra precautions when printing last modified time variable (?m= vs. &m=)

1.1.5

  • Fixed documentation.

1.1.4

  • Made pretty URL off by default since it doesn't work for everybody.

1.1.3

  • Added it_IT translation (thanks Gianni Diurno!)

1.1.2

  • Re-did options page and documentation to make things a bit more clear.

1.1.1

  • Fixed incomplete /min/config.php file.

1.1

  • Fixed "Class 'WPMinifyCommon' not found" errors that some are seeing.
  • Added pretty URL for minified files so now you can stick it on a CDN.
  • Organized options page.

1.0.4

  • Fixed conflict with W3 Total Cache.

1.0.3

  • Fixed "Invalid argument supplied for foreach()" error that some are having.

1.0.2

  • Adding options for excluding certain URIs from WP Minify parsing.

1.0.1

  • Reverting bbpress fix since it causs Minify to not even run.

1.0.0

  • Added option to minify HTML.
  • Added ability to NOT minify when "wp-minify-off=1" is in URL.
  • Added option to report errors through FirePHP.
  • Added "wp_minify_js_url" filter
  • Added "wp_minify_css_url" filter
  • Added "wp_minify_content" filter
  • Enhanced "JavaScript files to include" feature.
  • Enhanced "CSS files to include" feature.
  • Fixed persistent SSL issue (Thanks belg4mit!)
  • Fixed bbpress issue (Thanks foobar!)

0.9.3

  • Fixed removing trailing slash in base path.

0.9.2

  • Fixed "delimiter" error.
  • Fixed admin sidebar.

0.9.1

  • Automatically set far future expiration headers in Minify config (30 days).
  • Automatically detect subdirectory from siteurl for passing as base path for Minify engine.

0.9.0

  • Added SSL option to force http -> https on secured pages.
  • Updated common.php and some other maintenance.

0.8.1

  • Fixed WPMU subdirectory bug.

0.8.0

  • Added ability to de-dupe sources
  • Added ability to manually specify location of minified JS and CSS files.
  • Fixed XHTML compliance bugs
  • Cleaned empty lines in HTML output

0.7.4

  • Fixed detecting if script is local or not.

0.7.3

  • Fixed corner case on expire headers implementation.

0.7.2

  • Add expire headers to combined JS and CSS files (Thanks Jan Seidl!).

0.7.1

  • Fixed extra arguments for Minify engine.

0.7.0

  • Added advanced options:
    • Minification on external files
    • Place JavaScript in footer
    • Extra arguments for Minify engine
  • Removed wp_path option (Thanks Jan Seidl!)
  • Fixed Output Buffer conflicts with other plugins that use output buffering such as All-in-One SEO and Anarchy Media Player.

0.6.5

  • Fixed URL building (bug introduced by last release).
  • Brought back WordPress path settings as some people with .htaccess issues may still need this.

0.6.4

  • Fixed CSS regex to catch "media=''" case. (Thanks forum user bobmarkl33!)
  • Modified minified JavaScript injection to the end of (Thanks forum user bobmarl33!)
  • Fixed WP Minify working with blogs installed in subdirectory of webroot. (Thanks forum user Luke!)
  • Removed WordPress path settings as this is no longer needed per Luke's fix.

0.6.3

  • Fixed JavaScript minification failure for large number of files.

0.6.2

  • Fixed admin array_keys() bug
  • Updated .pot file.

0.6.1

  • Added .pot file.

0.6

  • Upgraded to Minify engine 2.1.3.
  • Added automatic Minify engine cache configuration.
  • Fixed HTML5 conflict.
  • Fixed bug from blog installed in subdirectory.
  • Fixed localization.

0.5

  • Added option to disable JS or CSS minification.
  • Fixed a few bugs.
  • Admin facelift

0.4.1

  • Fixed non-replaced tag for valid XHTML usage.

0.4

  • Automatically exclude CSS conditionals.
  • Automatically exclude CSS media != all, or screen.
  • Automatically exclude https URLs.
  • Added sanity checking for buffer start & stop.
  • Moved buffer start to init with priority 99999.
  • Fixed "strpos()" warnings when settings have empty lines.

0.3.1

  • Fixed "URL file-access disabled" errors.
  • Fixed "implode()" warnings.

0.3

  • WP 2.8 Compatibility

0.2.1

  • Fixed another CSS exclusion bug (src_match -> href_match).
  • Fixed JS WP Minify bug passing double forward slashes when not needed.
  • Added media="screen" for minified CSS reference.

0.2

  • Changed the way CSS and JS files are picked up. No more wp_enqueue_* requirements!
  • Fixed exclusion bug where specified files are not excluded from minification.
  • Removed OMNINOGGIN dashboard widget.

0.1.1

  • Fixed array_slice() warning in the admin dashboard.
  • Fixed version check to not break page when $wp_version is empty.

0.1

  • Initial release

Credits

This plugin utilizes the Minify engine coded by Steve Clay and Ryan Grove to perform all JS & CSS Minifying.

Requires: 2.7 or higher
Compatible up to: 3.3.2
Last Updated: 2012-6-4
Downloads: 380,537

Ratings

4 stars
4.1 out of 5 stars

Support

0 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
50,6,3
67,3,2
100,1,1 33,6,2 100,1,1 100,1,1 100,1,1 100,6,6 100,1,1
0,1,0 80,10,8 50,4,2 100,12,12 83,12,10 100,2,2 100,1,1 80,5,4 67,3,2 100,1,1 0,1,0
100,1,1 83,6,5 82,17,14 100,1,1 100,1,1
100,2,2 87,30,26 100,3,3 67,6,4 75,4,3
100,1,1
80,5,4
100,11,11
100,9,9 100,1,1
79,39,31 100,1,1
50,8,4 0,8,0 50,2,1 24,21,5 100,1,1 100,1,1 33,3,1
100,1,1 17,6,1 100,1,1 100,3,3 81,26,21
82,17,14
0,2,0
58,12,7
76,21,16 38,8,3 82,28,23
69,16,11
86,14,12
83,6,5
60,5,3
48,21,10
50,12,6
63,8,5
64,14,9
50,2,1
43,7,3
80,5,4
50,2,1
0,2,0
22,9,2
0,1,0
100,1,1