Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/19/2012 07:27:49 PM (12 years ago)
Author:
boonebgorges
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-template.php

    r6093 r6124  
    888888}
    889889
    890 function bp_current_user_id() { return bp_loggedin_user_id(); }
     890function bp_current_user_id() { return bp_displayed_user_id(); }
    891891
    892892function bp_displayed_user_domain() {
Note: See TracChangeset for help on using the changeset viewer.