[wp-trac] [WordPress Trac] #23190: get_user_id_from_string() is returning wrong data
WordPress Trac
noreply at wordpress.org
Sun Jan 13 14:23:03 UTC 2013
#23190: get_user_id_from_string() is returning wrong data
-------------------------------+------------------------------
Reporter: godhulii_1985 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.5
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Changes (by scribu):
* keywords: needs-docs needs-patch => reporter-feedback
Comment:
> Lets assume google says that the oauth user's id is: 123456. So, I
created an user with user-id: 123456. Wordpress assigned 99 to the user
(that is www.example.com/?author=99 will redirect to this user's profile)
"user id" is quite ambiguous here. Let's agree to use the wp_users table
column names, for clarity:
{{{
wp_users.ID = 99
wp_users.user_login = 123456
}}}
So, you fixed it by making user_login = g123456, correct?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23190#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list