Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#4280 closed defect (bug) (fixed)

bp_current_user_id() regression since 1.5.x

Reported by: boonebgorges's profile boonebgorges 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)

#1 @boonebgorges
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(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

#2 @johnjamesjacoby
9 years ago

  • Version changed from 1.6-beta to 1.6
Note: See TracTickets for help on using tickets.