Opened 11 years ago
Closed 11 years ago
#11419 closed defect (bug) (fixed)
r12389 changes a piece of logic, no?
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Change History (2)
Note: See
TracTickets for help on using
tickets.
$user_id if set should always be a positive integer in order for it to make any sense.
It is true that now if $user_id was set to 0 - which has no sensible meaning we will now run the db query and create a WP_User for 0 which we wouldn't have done before.
I will add the second check in to remove this possibility