升級到 WordPress 2.5 的注意事項

剛剛幫別人升級時注意到的,wp-config.php 裡有一段註解是要你設定 SECRET_KEY,看起來是為了當作 private secret 用:

// Change SECRET_KEY to a unique phrase.  You won't have to remember it later,
// so make it long and complicated.  You can visit https://www.grc.com/passwords.htm
// to get a phrase generated for you, or just make something up.

設完後會需要重新登入

3 thoughts on “升級到 WordPress 2.5 的注意事項”

  1. 好吧,我發現問題是出在哪。我忘了php是從上到下去執行,因為我是把SECRET_KEY丟到require_once(ABSPATH.'wp-settings.php');之後,那麼無論怎麼執行都會錯誤。

Leave a Reply

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