Skip to:
Content

BuddyPress.org

Changeset 1312


Ignore:
Timestamp:
04/04/2009 07:41:16 PM (15 years ago)
Author:
apeatling
Message:

Fixes #655 props nicolagreco

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/autocomplete/bp-messages-autocomplete.php

    r1052 r1312  
    22/* Load the WP environment */
    33require_once( preg_replace('%(.*)[/\\\\]wp-content[/\\\\].*%', '\1', dirname( __FILE__ ) ) . '/wp-load.php' );
    4 require_once( WP_CONTENT_DIR . '/mu-plugins/bp-core.php' );
    5 require_once( WP_CONTENT_DIR . '/mu-plugins/bp-friends.php' );
     4require_once( BP_PLUGIN_DIR . '/bp-core.php' );
     5require_once( BP_PLUGIN_DIR . '/bp-friends.php' );
    66
    77// Setup the $bp global array as it's not auto set outside of the normal WP enviro.
     
    1616        $ud = get_userdata($friend['user_id']);
    1717        $username = $ud->user_login;
    18         echo bp_core_get_avatar( $friend['user_id'], 1, 15, 15 ) . ' ' . bp_fetch_user_fullname( $friend['user_id'], false ) . ' (' . $username . ')
    19         ';
    20     }       
     18        echo bp_core_get_avatar( $friend['user_id'], 1, 15, 15 ) . ' ' . bp_fetch_user_fullname( $friend['user_id'], false ) . ' (' . $username . ')';
     19    }
    2120}
    2221?>
Note: See TracChangeset for help on using the changeset viewer.