Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#14396 closed defect (bug) (duplicate)

User metadata is cached in twice

Reported by: mdawaffe Owned by:
Milestone: Priority: low
Severity: normal Version: 3.0
Component: Cache API Keywords:
Focuses: Cc:


Since switching the usermeta to the new meta API, user metadata is cached in two different places.

Once in the user object in the users cache group via _fill_user and friends.

Once in the user_meta cache group via the meta API.

Change History (5)

#1 @scribu
5 years ago

I say drop _fill_user().

#2 @ryan
5 years ago

I'd like to drop meta caching in the user object, but it is pretty widely used.

#3 @nacin
5 years ago

  • Milestone changed from Awaiting Review to 3.1

#4 @ryan
5 years ago

  • Milestone changed from 3.1 to Future Release

We have plans for this in 3.2.

#5 @duck_
4 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Fixed in #15458.

Note: See TracTickets for help on using tickets.