[wp-meta] [Making WordPress.org] #588: Plugin Info API has case-sensitive username check for profile url
Making WordPress.org
noreply at wordpress.org
Fri Jul 31 16:29:31 UTC 2015
#588: Plugin Info API has case-sensitive username check for profile url
--------------------------+-------------------------------
Reporter: extendwings | Owner:
Type: defect | Status: closed
Priority: normal | Component: api.wordpress.org
Resolution: wontfix | Keywords:
--------------------------+-------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:6 Otto42]:
> WordPress usernames are case-sensitive.
FWIW, I can't seem to confirm that.
`wp_authenticate_username_password()` uses `get_user_by( 'login',
$username )`, which ultimately results in a case-insensitive query without
further restrictions:
{{{
SELECT * FROM $wpdb->users WHERE user_login = '%s'
}}}
Looks like usernames are case-insensitive since 2.8:
https://core.trac.wordpress.org/ticket/5472.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/588#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list