Simple Tags not working with WordPress 2.9


Upgraded to WordPress 2.9 and your simple tags plugin stopped working? Here’s a quick fix till the author releases a new version.

// Check version.
global $wp_version;
if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false ) {
require(dirname(__FILE__).'/2.7/simple-tags.client.php');

Change it to;

// Check version.
global $wp_version;
if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false || strpos($wp_version, '2.9') !== false ) {
require(dirname(__FILE__).'/2.7/simple-tags.client.php');

Basically add “|| strpos($wp_version, ’2.9′) !== false” at the end of the if statement.

  • http://wingloon.com Wing Loon

    …fast & simple, keep it up :)

© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak