For some of you that have just upgraded to the shiny new WordPress 2.9 release, you may have noticed a nasty little message that states that Simple Tags won’t work with the version of WordPress that you now have installed.
The issue at hand here is that the code for the plug-in contains a hard-coded check for the version number to ensure compatibility. It doesn’t appear on the surface that there will be any issues with this plug-in and the new WP code.
The fix to this is pretty simple. On line 35 of the simple-tags.php file you will find the following code:
35 |
if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false ) |
All you need to do is to change the code to include an additional check for version 2.9. The code will then look like so:
35 |
if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false || strpos($wp_version, '2.9') !== false ) |
Note: if there are any issues with the rest of the code, then the plugin still won’t work properly, but there doesn’t appear to be any that have been found.
WordPress
- Digg
- Stumbleupon
- Del.icio.us
- Technorati
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
Comments
2 Responses to “Making Simple Tags work with WordPress 2.9”