Skip to:
Content

BuddyPress.org

Changeset 4613


Ignore:
Timestamp:
07/06/2011 03:39:09 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Fix improperly deprecated bp_loggedinuser_link() function.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/deprecated/1.3.php

    r4605 r4613  
    193193
    194194function bp_loggedinuser_link() {
    195     _deprecated_function( __FUNCTION__, '1.3', 'bp_loggedin_user_link' );
     195    _deprecated_function( __FUNCTION__, '1.3', 'bp_logged_in_user_link' );
    196196    bp_loggedin_user_link();
    197197}
  • trunk/bp-members/bp-members-template.php

    r4558 r4613  
    781781        global $bp;
    782782
    783         return apply_filters( 'bp_get_loggedin_user_link', $bp->loggedin_user->domain );
     783        return apply_filters( 'bp_get_loggedin_user_link', bp_core_get_userlink( $bp->loggedin_user->id ) );
    784784    }
    785785
     
    790790        global $bp;
    791791
    792         return apply_filters( 'bp_get_displayed_user_link', $bp->displayed_user->domain );
     792        return apply_filters( 'bp_get_displayed_user_link', bp_core_get_userlink( $bp->displayed_user->id ) );
    793793    }
    794794    function bp_user_link() { bp_displayed_user_link(); } // Deprecated.
Note: See TracChangeset for help on using the changeset viewer.