Changes between Initial Version and Version 1 of Ticket #39370, comment 5
- Timestamp:
- 03/12/2020 02:52:22 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39370, comment 5
initial v1 1 As far as I see this can happen when the `$user_login` has been changed. This cannot happen in co de by default ($user_login is not changeable), but can be added/enabled by a plugin.1 As far as I see this can happen when the `$user_login` has been changed. This cannot happen in core by default ($user_login is not changeable), but can be added/enabled by a plugin. 2 2 3 3 Then the DB query will "find" a user ID as the updated `$user_login` hasn't been saved yet. So using the `$user_login` to confirm if it is the same user doesn't work. Would be better to use the user ID for that.