[wp-trac] [WordPress Trac] #35750: Updating a user should invalidate userslugs cache
WordPress Trac
noreply at wordpress.org
Fri Feb 5 07:12:20 UTC 2016
#35750: Updating a user should invalidate userslugs cache
-----------------------------+-----------------------------
Reporter: thebrandonallen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35750>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list