#35750 closed defect (bug) (fixed)
Updating a user should invalidate userslugs cache
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.5 | Priority: | normal |
| Severity: | normal | Version: | 3.0 |
| Component: | Users | Keywords: | has-patch has-unit-tests |
| Focuses: | Cc: |
Description
There are four user cache groups. However, between wp_insert_user and wp_update_user, only three of the groups are invalidated. The userslugs cache is never invalidated. Since a nicename can be updated via wp_update_user we should be invalidating the userslugs cache as well.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Good catch.