Skip to:
Content

BuddyPress.org

Ticket #1447: not-needed.patch

File not-needed.patch, 495 bytes (added by johnjamesjacoby, 15 years ago)

No need to check function_exists on bp_user_fullname

  • bp-friends.php

     
    466466                return false;
    467467
    468468        for ( $i = 0; $i < count($friend_ids); $i++ ) {
    469                 if ( function_exists('bp_user_fullname') )
    470                         $display_name = bp_core_get_user_displayname( $friend_ids[$i] );
     469                $display_name = bp_core_get_user_displayname( $friend_ids[$i] );
    471470
    472471                if ( $display_name != ' ' ) {
    473472                        $friends[] = array(