今天把WordPress升级到了2.0.3

去年安装的1.x的版本,今天去wordpress官网一看都已经到了2.0.3了,一看changelog一堆东西,于是决定升级。

整个升级过程并不复杂,为了安全起见备份了文件和数据库,按照官方的文档,五步完成了升级,没有遇到什么故障和意外,看来WordPress果然不错,能够在升级方面做到这样很不容易了。

新的版本功从表面看并没有现太多变化,逐渐的从代码中发现了一些新东西,wp-includes目录中多了不少和templates相关的函数,比如template-functions-general.php中已经提供了现成的get_calendar()函数,直接就有日历功能,不用安装别的日历plugin了。

升级后最痛苦的莫过于plugin和theme的升级,这次升级由于版本跨度大,我基本废除了原来全部的插件,然后重新下载了和2.0.x兼容的插件和theme,同时还进行了xhtml验证。

更多的新发现等着慢慢找到了跟大家分享。

Category: 西拉东扯
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image