[wp-trac] [WordPress Trac] #35750: Updating a user should invalidate userslugs cache
WordPress Trac
noreply at wordpress.org
Fri Feb 5 19:02:53 UTC 2016
#35750: Updating a user should invalidate userslugs cache
--------------------------------------+---------------------------
Reporter: thebrandonallen | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Users | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"36482"]:
{{{
#!CommitTicketReference repository="" revision="36482"
When updating a user, invalidate its 'userslugs' cache.
`user_nicename` can be changed via `wp_update_user()`, so we invalidate
just
to be safe.
Props thebrandonallen.
Fixes #35750.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35750#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list