I’ve written the back:
First, put the following in your comments.php, in the section where the comments form is. I put it in between the URL field and the actual comment field:
<p>
<input type="checkbox" name="remember" value="remember" tabindex="4" />
<label for="remember">Remember details?</label>
</p>
I adjusted the tabindex for the next two fields to 5 and 6 where they had previously been 4 and 5.
Next, in yourblog/wp-comments-post.php, you’ll find the following code:
setcookie('comment_author_' . COOKIEHASH, stripslashes($comment_author), time() + 30000000, COOKIEPATH);
setcookie('comment_author_email_' . COOKIEHASH, stripslashes($comment_author_email), time() + 30000000, COOKIEPATH);
setcookie('comment_author_url_' . COOKIEHASH, stripslashes($comment_author_url), time() + 30000000, COOKIEPATH);
You need to put “if ($remember)” around this with brackets, so it reads:
if( $remember ) {setcookie('comment_author_' . COOKIEHASH, stripslashes($comment_author), time() + 30000000, COOKIEPATH);
setcookie('comment_author_email_' . COOKIEHASH, stripslashes($comment_author_email), time() + 30000000, COOKIEPATH);
setcookie('comment_author_url_' . COOKIEHASH, stripslashes($comment_author_url), time() + 30000000, COOKIEPATH);
}
It’s worked for me so far. Simple hack.