WordPress 2.9.1 – Minor Updates, Simple Tags Hack

WordPress 2.9 is still quite fresh, but today the team released a new version including some minor bug fixes. WordPress 2.9.1 fixes scheduling-errors which occurred on some hosts. The update can either be triggered via the admin or you can upload the files via ftp, no database update necessary this time.

But there's another plugin-related issue: since the upgrade to 2.9, many WordPress bloggers miss Simple Tags: the tag management plugin just stopped to work, but worry not: it's just a hard-coded version check, a simple hack makes the plugin work again.

Amaury Balmer, author of the popular Simple Tags Plugin, has not upgraded his software yet. All you have to do is edit the file simple-tags.php, found in the directory /wp-content/plugins/simple-tags/. Use a text-editor of your choice and look for line 35 which looks exactly like this:

if ( strpos($wp_version, ‘2.7') !== false || strpos($wp_version, ‘2.8') !== false) {

Change this line (it contains the version check) to:

if ( strpos($wp_version, ‘2.7') !== false || strpos($wp_version, ‘2.8') !== false || strpos($wp_version, ‘2.9') !== false ) {

Don't forget to save and upload the edited file – and you're good to go: Simple Tags is working again, plus all the other plugins which use some of its functions.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.