Opened 6 months ago
Closed 3 months ago
#47021 closed defect (bug) (fixed)
Use clean_user_cache in more places.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.3 | Priority: | normal |
| Severity: | normal | Version: | 5.1 |
| Component: | Users | Keywords: | has-patch commit |
| Focuses: | Cc: | ||
| PR Number: |
Description
There are a number of places in core that should use the clean_user_cache function. This so all caches are correctly cleared / invalidated and the clean_user_cache action is fired.
Attachments (3)
Change History (9)
#2
@
6 months ago
- Milestone changed from Awaiting Review to Future Release
Good catch @mukesh27
I have updated the patch with 47021.3.diff. I did some testing and ran the unit tests. Tests pass.
Note: See
TracTickets for help on using
tickets.
@spacedmonkey, In
wp-includes/user.phpfile,wp_update_userfunction can we also remove below code with new code.Replace with new below code