#4280 closed defect (bug) (fixed)
bp_current_user_id() regression since 1.5.x
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 1.6 | Priority: | normal |
| Severity: | normal | Version: | 1.6 |
| Component: | Members | Keywords: | |
| Cc: |
Description
In r5302, bp_current_user_id() was inadvertently changed to refer to return the logged-in user's ID rather than the displayed user's.
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [6124]) Fixes regression in bp_current_user_id()
In 1.5.x and earlier, bp_current_user_id() returned the id of the currently
_displayed_ user, rather than the logged-in user. This changeset reverts
to the old behavior.
Fixes #4280
Props hnla, paulgibbs