[wp-trac] [WordPress Trac] #23190: get_user_id_from_string() is returning wrong data
WordPress Trac
noreply at wordpress.org
Sun Jan 13 18:58:46 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 needs-codex |
-------------------------------------------+------------------------------
Comment (by godhulii_1985):
Replying to [comment:3 scribu]:
> > 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?
[[BR]]
Yes, you are correct. (and sorry for the ambiguous term, I tried to avoid
as much as possible but missed here)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23190#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list