WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#31243 closed defect (bug) (fixed)

All secondary user buckets should be global cache groups

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

Description

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 WordPress.com (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
7 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
7 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
7 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.