### Eclipse Workspace Patch 1.0 #P buddypress Index: bp-wire/bp-wire-templatetags.php =================================================================== --- bp-wire/bp-wire-templatetags.php (revision 1865) +++ bp-wire/bp-wire-templatetags.php (working copy) @@ -151,7 +151,7 @@ $bp_wire_can_post = $can_post; $bp_wire_show_email_notify = $show_email_notify; - load_template( TEMPLATEPATH . '/wire/post-list.php' ); + locate_template( array( '/wire/post-list.php' ), true ); } function bp_wire_title() { Index: bp-core/bp-core-templatetags.php =================================================================== --- bp-core/bp-core-templatetags.php (revision 1865) +++ bp-core/bp-core-templatetags.php (working copy) @@ -384,7 +384,7 @@ } function bp_get_profile_header() { - load_template( TEMPLATEPATH . '/profile/profile-header.php' ); + locate_template( array( '/profile/profile-header.php' ), true ); } function bp_exists( $component_name ) { @@ -452,8 +452,7 @@ } function bp_get_plugin_sidebar() { - if ( file_exists(TEMPLATEPATH . '/plugin-sidebar.php') ) - load_template( TEMPLATEPATH . '/plugin-sidebar.php' ); + locate_template( array( '/plugin-sidebar.php' ), true ); } function bp_is_blog_page() { Index: bp-activity/bp-activity-templatetags.php =================================================================== --- bp-activity/bp-activity-templatetags.php (revision 1865) +++ bp-activity/bp-activity-templatetags.php (working copy) @@ -119,7 +119,7 @@ $bp_activity_title = $title; $bp_activity_no_activity = $no_activity; - load_template( TEMPLATEPATH . '/activity/activity-list.php' ); + locate_template( array( '/activity/activity-list.php' ), true ); } function bp_has_activities( $args = '' ) {