New Fun Blog – Scott Bilas

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

Archive for the ‘wordpress’ Category

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:

[code lang=”php”]
if ( !$user || ($user->user_login != $username) ) {

To this:

[code lang=”php”]
if ( !$user || (strtolower($user->user_login) != strtolower($username)) ) {

Now you can log in with whatever case you like.

Written by Scott

May 10th, 2010 at 8:30 pm

Posted in quickie,wordpress