Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/05/2009 09:29:24 PM (15 years ago)
Author:
apeatling
Message:

Streamlined the multiple functions to get the user's name, and brought them under the new "bp_core_get_user_displayname" function.

Added more through commenting to the bp-core.php file.

Allowed greater customization to bp_core_action_search_site()

Added bp_get_buddypress_theme_path() and bp_get_buddypress_theme_uri() functions

Reduced priority on some core BuddyPress functions, so that other plugins can scoot in front if needed.

Added missing filters on some core functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-notifications.php

    r1366 r1518  
    44    global $bp;
    55   
    6     $initiator_name = bp_fetch_user_fullname( $initiator_id, false );
     6    $initiator_name = bp_core_get_user_displayname( $initiator_id );
    77
    88    if ( 'no' == get_usermeta( (int)$friend_id, 'notification_friends_friendship_request' ) )
     
    4343    $friendship = new BP_Friends_Friendship( $friendship_id, false, false );
    4444   
    45     $friend_name = bp_fetch_user_fullname( $friend_id, false );
     45    $friend_name = bp_core_get_user_displayname( $friend_id );
    4646
    4747    if ( 'no' == get_usermeta( (int)$initiator_id, 'notification_friends_friendship_accepted' ) )
Note: See TracChangeset for help on using the changeset viewer.