Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#31243 closed defect (bug) (fixed)

All secondary user buckets should be global cache groups

Reported by: nacin's profile nacin Owned by: nacin's profile nacin
Milestone: 4.2 Priority: normal
Severity: normal Version:
Component: Users Keywords:
Focuses: Cc:


users, user_meta, and userlogins are all global cache groups. For some reason, useremail and userslugs are not. They should be.

@dd32 confirmed they are global on (and probably have been forever), which is where I would have expected an esoteric bug like this would have cropped up.

Change History (3)

#1 @nacin
9 years ago

I also found a typo in a rare code block in switch_to_blog(), a leading space in the blog-id-cache global group.

#2 @nacin
9 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 31347:

Add useremail and userslugs as global cache groups. fixes #31243.

#3 @nacin
9 years ago

In 31348:

Remove leading space from the definition of a global cache group.

This only applied in a rare situation during the switch_to_blog() process where no global groups were currently defined.

see #31243.

Note: See TracTickets for help on using tickets.