richliu’s blog

Linux, 工作, 生活.

richliu’s blog header image 2

AuthImage 3.0 的小 Bug

February 23rd, 2005 · No Comments

WordPress 1.5 加上AuthImage 3.0 當 User 己經 Login 以後,
若是使用者自己寫自己的 comment . 不需要輸入資料,
同時也不會看到 AuthImage 的畫面

這時寫完 comment 後,會出現錯誤訊息,說沒有輸入 Image Code Blah blah blah ….

在 wp-comment-post.php 的這兩行前加上一行
if ( !$user_ID)
// AuthImage
if ( !checkAICode($comment_code) )
die( __('Error: please enter the valid authorization code.') );

存檔就可以了,在我的 wp-comment-post.php 內是正常的.

On this day..

Tags:

Related posts

Tags: Blog/wiki 記錄

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment