Opened 16 years ago
Closed 16 years ago
#13075 closed defect (bug) (fixed)
*_metadata() functions do not clear the users cache
| Reported by: | ryan | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 3.0 |
| Component: | Users | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
The 'users' cache includes metadata for each user. When metadata is updated for the 'user' meta_type, the metadata functions should clear the users cache.
Attachments (1)
Change History (6)
#3
@
16 years ago
- Keywords has-patch added
- Priority normal → low
- Resolution fixed
- Status closed → reopened
#4
@
16 years ago
Maybe those checks would have been better placed in update_user_meta() ...
I think I disagree. I would think that metadata functions should work exactly like the user, post, and comment wrappers. Thus, any object-specific code should be in the metadata API.
That said, I like using hooks. That also leads me to thinking about #11254.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [14179]) Clear the users cache when updating user metadata. fixes #13075