[buddypress-trac] [BuddyPress Trac] #5570: `bp_get_member_profile_data` showing wrong values cached for other users
buddypress-trac
noreply at wordpress.org
Sat Oct 18 18:26:05 UTC 2014
#5570: `bp_get_member_profile_data` showing wrong values cached for other users
----------------------------+------------------
Reporter: frederick.ding | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: XProfile | Version: 2.0
Severity: major | Resolution:
Keywords: needs-patch |
----------------------------+------------------
Comment (by boonebgorges):
will_c - Thanks for the updates. Unfortunately, I still can't seem to
duplicate. See [attachment:5570.test.patch].
`bp_get_member_profile_data()` seems to be working as expected - both of
the `print_r()` statements output 'foo' for the second user, but not the
first or third.
> If I comment out line 326-336 (essentially removing the cache)
everything works as expected.
This is quite perplexing. The code you're referencing here doesn't
actually cache any user data - it's only information from the
`bp_xprofile_groups` table.
Can you please share the exact code that you're using for this purpose?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5570#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list