Opened 3 years ago
Closed 3 years ago
#11419 closed defect (bug) (fixed)
r12389 changes a piece of logic, no?
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9 |
| Component: | General | Version: | 2.9 |
| Severity: | normal | Keywords: | |
| 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