Skip to:
Content

BuddyPress.org

Changeset 3022


Ignore:
Timestamp:
06/01/2010 05:21:25 PM (14 years ago)
Author:
apeatling
Message:

Fixing mix up with logged in and displayed user link functions. Fixes #2409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-templatetags.php

    r3007 r3022  
    12661266
    12671267function bp_displayed_user_link() {
    1268     echo bp_get_loggedin_user_link();
    1269 }
    1270 function bp_user_link() { bp_displayed_user_link(); }
     1268    echo bp_get_displayed_user_link();
     1269}
    12711270    function bp_get_displayed_user_link() {
    12721271        global $bp;
     
    12741273        return apply_filters( 'bp_get_displayed_user_link', $bp->displayed_user->domain );
    12751274    }
     1275    function bp_user_link() { bp_displayed_user_link(); } // Deprecated.
    12761276
    12771277function bp_displayed_user_id() {
Note: See TracChangeset for help on using the changeset viewer.