No big news here, but I’ve got an updated patch if you want to use my mod to add Minify to WordPress and WP Super Cache. For more information, check out my original explanation and instructions post, which I’ve updated with links to the new files.
What’s changed? Well, nothing important. There have been some changes to WP Super Cache that caused parts of my patch not to apply automatically, so the patch is updated and tested against WP Super Cache 0.9. There’s also a tiny cosmetic change to the submit button on the WordPress configuration panel, so that it matches the WordPress 2.7+ backend.
Direct links to the new files:
- WPSCMinify 0.2, my standalone class and patch, which you can install into your existing Super Cache plugin
- wp-super-cache-with-WPSCMin-0.2.tar.gz, which is a complete modded WP Super Cache 0.9 plugin that you can use if you don’t want to fiddle with patches
Be aware that recent versions of WP Super Cache fiddle with the
advanced-cache.php file in
wp-content, which previously you could just symlink to
plugins/wp-super-cache/wp-cache-phase1.php (or you could copy the file if you don’t know what a symlink is). Now, instead of a symlink to
wp-cache-phase1.php, it’s a PHP script that does a
wp-cache-phase1.php. Whoop-de-do! I’m pretty sure the symlink is more efficient than doing a require in PHP, and it’s definitely annoying to have to copy and edit a file into a place outside the plugin directory, instead of a symlink that you could make once and leave alone forever, but whatever, it’s spaghetti code.
This doesn’t actually have anything to do with my mod, I just thought I’d mention it in case you’re upgrading WP Super Cache like I was — if so, be aware you’re going to have to manually shuffle this file around and edit it to look like this:
<?php # WP SUPER CACHE 0.8.9.1 require_once( dirname(__FILE__).'/plugins/wp-super-cache/wp-cache-phase1.php' ); ?>
Don’t ask me why the
dirname(__FILE__).'/plugins/wp-super-cache/ isn’t already in there by default instead of a random placeholder string that you have to fix yourself (or else the plugin dies). Hey, it’s more fun this way!