升级到Wordpress 2.0.4
Wordpress已经更新到了2.0.4版,同2.0.3版一样,这个版本仍然是一个安全增强和bug修补版,升级很顺利,目前我所使用的插件都能够正常工作,但对于中文用户,仍需要修改wp-db.php文件,否则会出现乱码。
wp-db.php在wp-includes目录中,编辑该文件,找到
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
“);
}
$this->select($dbname);
}
在其中加上一条语句$this->query(”SET NAMES ‘utf8′ “);,修改后如下:
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
“);
}
$this->query(”SET NAMES ‘utf8′ “);
$this->select($dbname);
}