2008-07-21 (月曜日) In: WordPress (2,769 views)
先週の7月15日にWordPress 2.6がリリースされました。日本語版も7月16日にリリースされてました。今回は2.5.1の環境から上書きでアップグレードしました。もちろん現在のディレクトリを全部別の場所へコピーしておいてからですが。正しいアップグレードの方法はUpgrading WordPressに詳しく書いてあります。themeディレクトリとpluginsディレクトリだけ上書きされて困らないようにしておけば大丈夫そうです。上書きした後、管理画面にアクセスすると「アップグレードが必要です」という画面が出てくるのでそこのボタンを押すだけで完了。
あとは今までの wp-config.php を修正します。
Also take care to preserve the content of the wp-config.php file in the root directory. This file contains current settings for your existing installation, e.g. database sign-in information. Occasionally new versions of WordPress adds statements to this file. (E.g. in version 2.5 the SECRET_KEY variable was added, see Extended upgrade instructions). Compare your existing file with the new installation file which is named wp-config-sample.php. Either transfer your settings to the sample-file and rename it to wp-config.php or copy the new statemens from the sample file into yor current file.
以下はwp-config-sample.phpの抜粋です。
私の場合は上記にある http://api.wordpress.org/secret-key/1.1/ で生成したフレーズを少し加工してそのままコピペして済ませました。
ご意見ご感想などありましたらコメントとして投稿をお願いします。メールアドレスは非公開になります。
日々の四方山話を徒然と・・・
いらっしゃいませ。このブログはオーストラリアの生活に関する話題とFreeBSDに関連する話題を主に色々と書き綴っています。
Sorry, This site consists of Japanese contents only. If you are interested in my blog, feel free to leave your comments in English or Japanese. Thank you.