Skip to:

Opened 9 years ago

Last modified 9 years ago

#2076 new defect (bug)

Potential Problem with bbp_get_displayed_user_field()

Reported by: mordauk Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.2.2
Component: Component - Users Keywords:


I noticed some really strange behavior today with the bbp_get_displayed_user_field() function.

  1. I went to profile edit screen for one of my forum users to grab their email address
  1. I left the profile edit page
  1. I went to the profile edit screen for another (different) forum user to grab their email address
  1. The email field showed the email addressed for the first user that I accessed, but all other fields were correct
  1. I refreshed the page an the user's email field corrected itself to show the proper email for the user

I haven't dug into the issue too far, nor have I been able to consistent replicate the behavior, but I suspect it has to do with $bbp-displayed_user not getting updated 100% when profile screens are loaded.

Change History (2)

#1 @johnjamesjacoby
9 years ago

  • Milestone changed from Awaiting Review to Future Release

If a refresh fixed it, then it's likely browser cache. The displayed_user variable is selectively, dynamically loaded when visiting a user's profile. It isn't persistent across multiple page loads.

#2 @mordauk
9 years ago

If it was browser cache, wouldn't we have expected all fields to display from the previous user? In this case it was only the email field.

Note: See TracTickets for help on using tickets.