WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 2 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:

Description

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)

comment:1 scribu4 years ago

I say drop _fill_user().

comment:2 ryan4 years ago

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

comment:3 nacin3 years ago

  • Milestone changed from Awaiting Review to 3.1

comment:4 ryan3 years ago

  • Milestone changed from 3.1 to Future Release

We have plans for this in 3.2.

comment:5 duck_2 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.