New Fun Blog – Scott Bilas

Take what you want, and leave the rest (just like your salad bar).

Quickie: Case Insensitive WordPress Login

without comments

Do you have a locked down WordPress site that has a case-sensitive login even though the Googles are telling you that in WordPress 2.8 they went case-insensitive? Most likely you have John Kolbert’s nice Absolute Privacy plugin installed. It just needs a minor fix.

Edit absolute_privacy.php. Easiest way is through the admin interface under Edit Plugins. Change this line:

if ( !$user || ($user->user_login != $username) ) {

To this:

if ( !$user || (strtolower($user->user_login) != strtolower($username)) ) {

Now you can log in with whatever case you like.

May 10th, 2010 at 8:30 pm

Posted in quickie, wordpress

Leave a Reply

Note: This post is over a year and a half old. Time moves fast on the internet and this article may be total bunk now! You may want to check later in this blog to see if there is any new information relevant to your comment.

Want to paste some code into your comment? Just wrap it in [code] [/code]. Also, please note that off-topic or overly commercial comments will likely be removed at my discretion.

Switch to our mobile site