Skip to:
Content

BuddyPress.org

Opened 9 years ago

Closed 8 years ago

#6320 closed defect (bug) (no action required)

pending_email_change user-meta touches cached user data

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Settings Keywords: reporter-feedback
Cc: boonebgorges

Description

In #2265, the decision was made to switch away from WordPress MU's approach of storing pending user email changes (storing them as options) and to store them in usermeta instead.

One side-effect of this (now that we are caching more things) is that a pending email change busts the cached user object once on change, then again when they confirm their address or cancel the change.

I'm unsure if this is better or worse, but I have a hunch there are improvements we can (and maybe should) try to make to this.

Some thoughts:

  • Transients?
  • Should we include a timestamp in our array? IP address? Session data?
  • Should these have a 24 hour limit on them? 12? 1?
  • Should there be an option to resend the email?

Change History (5)

#1 @boonebgorges
9 years ago

What's the actual bug here? Busting the cache twice just means a minor performance hit, right? Or does this cause actual issues in some cases?

#2 @DJPaul
9 years ago

  • Keywords reporter-feedback added

#3 @DJPaul
8 years ago

@johnjamesjacoby Can you remember this issue in order to reply to Boone? Otherwise i'd like to close this ticket.

#4 @DJPaul
8 years ago

  • Milestone changed from Under Consideration to Awaiting Review

#5 @DJPaul
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

This (very old) ticket has had no further information provided since its initial report, which we need to review it appropriately, so I'm closing it.

Note: See TracTickets for help on using tickets.