indigojo_uk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: problems with XMLRPC interfaceRe dannyngan – In fact, in WordPress “General”, i.e. “Uncategorized” is the default category. Anything without a category will automatically go into General / Uncategorized, which makes this else block unnecessary. I wonder if anyone has bug-reported it?
Forum: Plugins
In reply to: Remember info option in commentsI’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.
Forum: Plugins
In reply to: Remember info option in commentsIt would actually be useful for commenters to have the option not to have their details saved when they comment. For example, if I am commenting on a public computer in the Apple Store, anyone who happens to read that blog on that computer that day could find my email address. Any way of building a remember button in?
Forum: Fixing WordPress
In reply to: Ugh, no bullets in categoriesWell, it’s not resolved on my copy (1.5 Strayhorn). My category list displays in ID order, whether I specify it as name-order or ID-order.
Is this going to be fixed in a bug-fix release, and any idea on when it’s likely to be out?