Opened 7 years ago
Closed 7 years ago
#47021 closed defect (bug) (fixed)
Use clean_user_cache in more places.
| Reported by: | spacedmonkey | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | Users | Version: | 5.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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
@
7 years ago
- Milestone Awaiting Review → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@spacedmonkey, In
wp-includes/user.phpfile,wp_update_userfunction can we also remove below code with new code.Replace with new below code