Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/05/2009 09:29:24 PM (16 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-xprofile/bp-xprofile-notifications.php

    r1366 r1518  
    2626
    2727        if ( !get_usermeta( $bp->loggedin_user->id, 'notification_profile_wire_post' ) || 'yes' == get_usermeta( $bp->loggedin_user->id, 'notification_profile_wire_post' ) ) {
    28             $poster_name = bp_fetch_user_fullname( $poster_id, false );
     28            $poster_name = bp_core_get_user_displayname( $poster_id );
    2929            $wire_post = new BP_Wire_Post( $bp->profile->table_name_wire, $wire_post_id, true );
    3030            $ud = get_userdata($user_id);
Note: See TracChangeset for help on using the changeset viewer.