#35750 closed defect (bug) (fixed)
Updating a user should invalidate userslugs cache
| Reported by: | thebrandonallen | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.5 |
| Component: | Users | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Good catch.