Changeset 1312
- Timestamp:
- 04/04/2009 07:41:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/autocomplete/bp-messages-autocomplete.php
r1052 r1312 2 2 /* Load the WP environment */ 3 3 require_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' );4 require_once( BP_PLUGIN_DIR . '/bp-core.php' ); 5 require_once( BP_PLUGIN_DIR . '/bp-friends.php' ); 6 6 7 7 // Setup the $bp global array as it's not auto set outside of the normal WP enviro. … … 16 16 $ud = get_userdata($friend['user_id']); 17 17 $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 } 21 20 } 22 21 ?>
Note: See TracChangeset
for help on using the changeset viewer.