Index: bp-activity/bp-activity-actions.php
===================================================================
--- bp-activity/bp-activity-actions.php
+++ bp-activity/bp-activity-actions.php
@@ -596,6 +596,4 @@ function bp_activity_setup_akismet() {
 
 	// Instantiate Akismet for BuddyPress
 	$bp->activity->akismet = new BP_Akismet();
-}
-
-?>
+}
\ No newline at end of file
Index: bp-activity/bp-activity-admin.php
===================================================================
--- bp-activity/bp-activity-admin.php
+++ bp-activity/bp-activity-admin.php
@@ -1396,5 +1396,4 @@ class BP_Activity_List_Table extends WP_List_Table {
 
 		return $tree;
 	}
-}
-?>
+}
\ No newline at end of file
Index: bp-activity/bp-activity-akismet.php
===================================================================
--- bp-activity/bp-activity-akismet.php
+++ bp-activity/bp-activity-akismet.php
@@ -583,5 +583,4 @@ function bp_activity_akismet_delete_old_metadata() {
 		foreach ( $activity_ids as $activity_id )
 			bp_activity_delete_meta( $activity_id, '_bp_akismet_submission' );
 	}
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-activity/bp-activity-cache.php
===================================================================
--- bp-activity/bp-activity-cache.php
+++ bp-activity/bp-activity-cache.php
@@ -34,6 +34,4 @@ function bp_activity_update_meta_cache( $activity_ids = false ) {
 	);
 	
 	bp_update_meta_cache( $cache_args );
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-activity/bp-activity-classes.php
===================================================================
--- bp-activity/bp-activity-classes.php
+++ bp-activity/bp-activity-classes.php
@@ -668,6 +668,4 @@ class BP_Activity_Activity {
 
 		return $wpdb->get_var( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET hide_sitewide = 1 WHERE user_id = %d", $user_id ) );
 	}
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-activity/bp-activity-filters.php
===================================================================
--- bp-activity/bp-activity-filters.php
+++ bp-activity/bp-activity-filters.php
@@ -335,6 +335,4 @@ function bp_activity_truncate_entry( $text ) {
 	}
 
 	return apply_filters( 'bp_activity_truncate_entry', $excerpt, $text, $append_text );
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-activity/bp-activity-functions.php
===================================================================
--- bp-activity/bp-activity-functions.php
+++ bp-activity/bp-activity-functions.php
@@ -1665,6 +1665,4 @@ function bp_embed_activity_cache( $cache, $id, $cachekey ) {
  */
 function bp_embed_activity_save_cache( $cache, $cachekey, $id ) {
 	bp_activity_update_meta( $id, $cachekey, $cache );
-}
-
-?>
+}
\ No newline at end of file
Index: bp-activity/bp-activity-loader.php
===================================================================
--- bp-activity/bp-activity-loader.php
+++ bp-activity/bp-activity-loader.php
@@ -338,6 +338,4 @@ function bp_setup_activity() {
 
 	$bp->activity = new BP_Activity_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_activity', 6 );
-
-?>
+add_action( 'bp_setup_components', 'bp_setup_activity', 6 );
\ No newline at end of file
Index: bp-activity/bp-activity-notifications.php
===================================================================
--- bp-activity/bp-activity-notifications.php
+++ bp-activity/bp-activity-notifications.php
@@ -229,6 +229,4 @@ To view the original activity, your comment and all replies, log in and visit: %
 
 		do_action( 'bp_activity_sent_reply_to_reply_email', $original_activity->user_id, $subject, $message, $comment_id, $commenter_id, $params );
 	}
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-activity/bp-activity-screens.php
===================================================================
--- bp-activity/bp-activity-screens.php
+++ bp-activity/bp-activity-screens.php
@@ -376,4 +376,4 @@ class BP_Activity_Theme_Compat {
 		bp_buffer_template_part( 'activity/index' );
 	}
 }
-new BP_Activity_Theme_Compat();
+new BP_Activity_Theme_Compat();
\ No newline at end of file
Index: bp-activity/bp-activity-template.php
===================================================================
--- bp-activity/bp-activity-template.php
+++ bp-activity/bp-activity-template.php
@@ -2738,6 +2738,4 @@ function bp_activity_sitewide_feed() {
 
 <?php
 }
-add_action( 'bp_head', 'bp_activity_sitewide_feed' );
-
-?>
+add_action( 'bp_head', 'bp_activity_sitewide_feed' );
\ No newline at end of file
Index: bp-activity/feeds/bp-activity-favorites-feed.php
===================================================================
--- bp-activity/feeds/bp-activity-favorites-feed.php
+++ bp-activity/feeds/bp-activity-favorites-feed.php
@@ -12,8 +12,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
 
 header('Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true );
 header('Status: 200 OK');
-?>
-<?php echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>'; ?>
 
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -72,4 +71,4 @@ header('Status: 200 OK');
 	<?php endif; ?>
 
 </channel>
-</rss>
+</rss>
\ No newline at end of file
Index: bp-activity/feeds/bp-activity-friends-feed.php
===================================================================
--- bp-activity/feeds/bp-activity-friends-feed.php
+++ bp-activity/feeds/bp-activity-friends-feed.php
@@ -12,8 +12,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
 
 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
 header('Status: 200 OK');
-?>
-<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
 
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -62,4 +61,4 @@ header('Status: 200 OK');
 
 	<?php endif; ?>
 </channel>
-</rss>
+</rss>
\ No newline at end of file
Index: bp-activity/feeds/bp-activity-group-feed.php
===================================================================
--- bp-activity/feeds/bp-activity-group-feed.php
+++ bp-activity/feeds/bp-activity-group-feed.php
@@ -12,8 +12,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
 
 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
 header('Status: 200 OK');
-?>
-<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
 
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -57,4 +56,4 @@ header('Status: 200 OK');
 
 	<?php endif; ?>
 </channel>
-</rss>
+</rss>
\ No newline at end of file
Index: bp-activity/feeds/bp-activity-mentions-feed.php
===================================================================
--- bp-activity/feeds/bp-activity-mentions-feed.php
+++ bp-activity/feeds/bp-activity-mentions-feed.php
@@ -12,8 +12,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
 
 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
 header('Status: 200 OK');
-?>
-<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
 
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -63,4 +62,4 @@ header('Status: 200 OK');
 
 	<?php endif; ?>
 </channel>
-</rss>
+</rss>
\ No newline at end of file
Index: bp-activity/feeds/bp-activity-mygroups-feed.php
===================================================================
--- bp-activity/feeds/bp-activity-mygroups-feed.php
+++ bp-activity/feeds/bp-activity-mygroups-feed.php
@@ -12,8 +12,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
 
 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
 header('Status: 200 OK');
-?>
-<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
 
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -63,4 +62,4 @@ header('Status: 200 OK');
 
 	<?php endif; ?>
 </channel>
-</rss>
+</rss>
\ No newline at end of file
Index: bp-activity/feeds/bp-activity-personal-feed.php
===================================================================
--- bp-activity/feeds/bp-activity-personal-feed.php
+++ bp-activity/feeds/bp-activity-personal-feed.php
@@ -12,8 +12,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
 
 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
 header('Status: 200 OK');
-?>
-<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
 
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -62,4 +61,4 @@ header('Status: 200 OK');
 
 	<?php endif; ?>
 </channel>
-</rss>
+</rss>
\ No newline at end of file
Index: bp-activity/feeds/bp-activity-sitewide-feed.php
===================================================================
--- bp-activity/feeds/bp-activity-sitewide-feed.php
+++ bp-activity/feeds/bp-activity-sitewide-feed.php
@@ -12,8 +12,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
 
 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
 header('Status: 200 OK');
-?>
-<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
 
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -57,4 +56,4 @@ header('Status: 200 OK');
 
 	<?php endif; ?>
 </channel>
-</rss>
+</rss>
\ No newline at end of file
Index: bp-blogs/bp-blogs-actions.php
===================================================================
--- bp-blogs/bp-blogs-actions.php
+++ bp-blogs/bp-blogs-actions.php
@@ -33,6 +33,4 @@ function bp_blogs_redirect_to_random_blog() {
 		bp_core_redirect( bp_core_get_root_domain() );
 	}
 }
-add_action( 'bp_actions', 'bp_blogs_redirect_to_random_blog' );
-
-?>
+add_action( 'bp_actions', 'bp_blogs_redirect_to_random_blog' );
\ No newline at end of file
Index: bp-blogs/bp-blogs-activity.php
===================================================================
--- bp-blogs/bp-blogs-activity.php
+++ bp-blogs/bp-blogs-activity.php
@@ -124,6 +124,4 @@ function bp_blogs_delete_activity( $args = true ) {
 		'user_id'           => $user_id,
 		'secondary_item_id' => $secondary_item_id
 	) );
-}
-
-?>
+}
\ No newline at end of file
Index: bp-blogs/bp-blogs-buddybar.php
===================================================================
--- bp-blogs/bp-blogs-buddybar.php
+++ bp-blogs/bp-blogs-buddybar.php
@@ -76,6 +76,4 @@ function bp_adminbar_blogs_menu() {
 		echo '</li>';
 	}
 }
-add_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 );
-
-?>
+add_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 );
\ No newline at end of file
Index: bp-blogs/bp-blogs-cache.php
===================================================================
--- bp-blogs/bp-blogs-cache.php
+++ bp-blogs/bp-blogs-cache.php
@@ -53,6 +53,4 @@ add_action( 'bp_blogs_remove_blog',          'bp_core_clear_cache' );
 add_action( 'bp_blogs_new_blog_comment',     'bp_core_clear_cache' );
 add_action( 'bp_blogs_new_blog_post',        'bp_core_clear_cache' );
 add_action( 'bp_blogs_new_blog',             'bp_core_clear_cache' );
-add_action( 'bp_blogs_remove_data',          'bp_core_clear_cache' );
-
-?>
+add_action( 'bp_blogs_remove_data',          'bp_core_clear_cache' );
\ No newline at end of file
Index: bp-blogs/bp-blogs-classes.php
===================================================================
--- bp-blogs/bp-blogs-classes.php
+++ bp-blogs/bp-blogs-classes.php
@@ -285,6 +285,4 @@ class BP_Blogs_Blog {
 
 		return false;
 	}
-}
-
-?>
+}
\ No newline at end of file
Index: bp-blogs/bp-blogs-filters.php
===================================================================
--- bp-blogs/bp-blogs-filters.php
+++ bp-blogs/bp-blogs-filters.php
@@ -20,7 +20,4 @@
 function bp_blogs_creation_location( $url ) {
      return apply_filters( 'bp_blogs_creation_location', trailingslashit( bp_get_root_domain() . '/' . bp_get_blogs_slug() . '/create', $url ) );
 }
-add_filter( 'wp_signup_location', 'bp_blogs_creation_location' );
-
-
-?>
\ No newline at end of file
+add_filter( 'wp_signup_location', 'bp_blogs_creation_location' );
\ No newline at end of file
Index: bp-blogs/bp-blogs-functions.php
===================================================================
--- bp-blogs/bp-blogs-functions.php
+++ bp-blogs/bp-blogs-functions.php
@@ -669,6 +669,4 @@ function bp_blogs_remove_data( $user_id ) {
 }
 add_action( 'wpmu_delete_user',  'bp_blogs_remove_data' );
 add_action( 'delete_user',       'bp_blogs_remove_data' );
-add_action( 'bp_make_spam_user', 'bp_blogs_remove_data' );
-
-?>
+add_action( 'bp_make_spam_user', 'bp_blogs_remove_data' );
\ No newline at end of file
Index: bp-blogs/bp-blogs-loader.php
===================================================================
--- bp-blogs/bp-blogs-loader.php
+++ bp-blogs/bp-blogs-loader.php
@@ -211,6 +211,4 @@ function bp_setup_blogs() {
 	global $bp;
 	$bp->blogs = new BP_Blogs_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_blogs', 6 );
-
-?>
+add_action( 'bp_setup_components', 'bp_setup_blogs', 6 );
\ No newline at end of file
Index: bp-blogs/bp-blogs-screens.php
===================================================================
--- bp-blogs/bp-blogs-screens.php
+++ bp-blogs/bp-blogs-screens.php
@@ -172,4 +172,4 @@ class BP_Blogs_Theme_Compat {
 		bp_buffer_template_part( 'blogs/create' );
 	}
 }
-new BP_Blogs_Theme_Compat();
+new BP_Blogs_Theme_Compat();
\ No newline at end of file
Index: bp-blogs/bp-blogs-template.php
===================================================================
--- bp-blogs/bp-blogs-template.php
+++ bp-blogs/bp-blogs-template.php
@@ -655,6 +655,4 @@ function bp_blogs_visit_blog_button( $args = '' ) {
 
 		// Filter and return the HTML button
 		return bp_get_button( apply_filters( 'bp_get_blogs_visit_blog_button', $button ) );
-	}
-
-?>
\ No newline at end of file
+	}
\ No newline at end of file
Index: bp-blogs/bp-blogs-widgets.php
===================================================================
--- bp-blogs/bp-blogs-widgets.php
+++ bp-blogs/bp-blogs-widgets.php
@@ -87,5 +87,4 @@ class BP_Blogs_Recent_Posts_Widget extends WP_Widget {
 		<p><label for="bp-blogs-widget-posts-max"><?php _e('Max posts to show:', 'buddypress'); ?> <input class="widefat" id="<?php echo $this->get_field_id( 'max_posts' ); ?>" name="<?php echo $this->get_field_name( 'max_posts' ); ?>" type="text" value="<?php echo esc_attr( $max_posts ); ?>" style="width: 30%" /></label></p>
 	<?php
 	}
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-core/admin/bp-core-components.php
===================================================================
--- bp-core/admin/bp-core-components.php
+++ bp-core/admin/bp-core-components.php
@@ -295,6 +295,4 @@ function bp_core_admin_components_settings_handler() {
 		wp_redirect( $base_url );
 	}
 }
-add_action( 'admin_init', 'bp_core_admin_components_settings_handler' );
-
-?>
+add_action( 'admin_init', 'bp_core_admin_components_settings_handler' );
\ No newline at end of file
Index: bp-core/admin/bp-core-functions.php
===================================================================
--- bp-core/admin/bp-core-functions.php
+++ bp-core/admin/bp-core-functions.php
@@ -374,6 +374,4 @@ function bp_core_admin_tabs( $active_tab = '' ) {
 
 	// Do other fun things
 	do_action( 'bp_admin_tabs' );
-}
-
-?>
+}
\ No newline at end of file
Index: bp-core/admin/bp-core-schema.php
===================================================================
--- bp-core/admin/bp-core-schema.php
+++ bp-core/admin/bp-core-schema.php
@@ -385,6 +385,4 @@ function bp_update_db_stuff() {
 		}
 	}
 
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-core/admin/bp-core-settings.php
===================================================================
--- bp-core/admin/bp-core-settings.php
+++ bp-core/admin/bp-core-settings.php
@@ -364,5 +364,4 @@ function bp_form_option( $option, $default = '' , $slug = false ) {
 
 		// Allow plugins to further filter the output
 		return apply_filters( 'bp_get_form_option', $value, $option );
-	}
-?>
+	}
\ No newline at end of file
Index: bp-core/admin/bp-core-slugs.php
===================================================================
--- bp-core/admin/bp-core-slugs.php
+++ bp-core/admin/bp-core-slugs.php
@@ -219,6 +219,4 @@ function bp_core_admin_slugs_setup_handler() {
 		wp_redirect( $base_url );
 	}
 }
-add_action( 'admin_init', 'bp_core_admin_slugs_setup_handler' );
-
-?>
+add_action( 'admin_init', 'bp_core_admin_slugs_setup_handler' );
\ No newline at end of file
Index: bp-core/admin/bp-core-update.php
===================================================================
--- bp-core/admin/bp-core-update.php
+++ bp-core/admin/bp-core-update.php
@@ -1053,6 +1053,4 @@ function bp_get_wizard() {
 		return $bp->admin->wizard;
 
 	return false;
-}
-
-?>
+}
\ No newline at end of file
Index: bp-core/bp-core-actions.php
===================================================================
--- bp-core/bp-core-actions.php
+++ bp-core/bp-core-actions.php
@@ -90,4 +90,4 @@ add_action( 'after_setup_theme', 'bp_load_theme_functions', 1 );
 // Load the admin
 if ( is_admin() ) {
 	add_action( 'bp_loaded', 'bp_admin' );
-}
+}
\ No newline at end of file
Index: bp-core/bp-core-admin.php
===================================================================
--- bp-core/bp-core-admin.php
+++ bp-core/bp-core-admin.php
@@ -504,6 +504,4 @@ function bp_admin() {
 	global $bp;
 
 	$bp->admin = new BP_Admin();
-}
-
-?>
+}
\ No newline at end of file
Index: bp-core/bp-core-adminbar.php
===================================================================
--- bp-core/bp-core-adminbar.php
+++ bp-core/bp-core-adminbar.php
@@ -64,6 +64,4 @@ function bp_core_load_admin_bar_css() {
 	if ( $min )
 		$wp_styles->add_data( 'bp-admin-bar', 'suffix', $min );
 }
-add_action( 'bp_init', 'bp_core_load_admin_bar_css' );
-
-?>
+add_action( 'bp_init', 'bp_core_load_admin_bar_css' );
\ No newline at end of file
Index: bp-core/bp-core-avatars.php
===================================================================
--- bp-core/bp-core-avatars.php
+++ bp-core/bp-core-avatars.php
@@ -958,7 +958,4 @@ function bp_core_avatar_default_thumb() {
 	global $bp;
 
 	return apply_filters( 'bp_core_avatar_thumb', $bp->avatar->thumb->default );
-}
-
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-core/bp-core-buddybar.php
===================================================================
--- bp-core/bp-core-buddybar.php
+++ bp-core/bp-core-buddybar.php
@@ -682,6 +682,4 @@ function bp_core_load_buddybar_css() {
 	if ( $min )
 		$wp_styles->add_data( 'bp-admin-bar', 'suffix', $min );
 }
-add_action( 'bp_init', 'bp_core_load_buddybar_css' );
-
-?>
+add_action( 'bp_init', 'bp_core_load_buddybar_css' );
\ No newline at end of file
Index: bp-core/bp-core-cache.php
===================================================================
--- bp-core/bp-core-cache.php
+++ bp-core/bp-core-cache.php
@@ -131,6 +131,4 @@ function bp_update_meta_cache( $args = array() ) {
 	}
 
 	return $cache;
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-core/bp-core-caps.php
===================================================================
--- bp-core/bp-core-caps.php
+++ bp-core/bp-core-caps.php
@@ -421,6 +421,4 @@ function _bp_enforce_bp_moderate_cap_for_admins( $allcaps, $caps, $args ) {
 
 	return $allcaps;
 }
-add_filter( 'user_has_cap', '_bp_enforce_bp_moderate_cap_for_admins', 10, 3 );
-
-?>
+add_filter( 'user_has_cap', '_bp_enforce_bp_moderate_cap_for_admins', 10, 3 );
\ No newline at end of file
Index: bp-core/bp-core-catchuri.php
===================================================================
--- bp-core/bp-core-catchuri.php
+++ bp-core/bp-core-catchuri.php
@@ -742,4 +742,4 @@ function _bp_maybe_remove_rel_canonical() {
 		add_action( 'bp_head', 'bp_rel_canonical' );
 	}
 }
-add_action( 'wp_head', '_bp_maybe_remove_rel_canonical', 8 );
+add_action( 'wp_head', '_bp_maybe_remove_rel_canonical', 8 );
\ No newline at end of file
Index: bp-core/bp-core-classes.php
===================================================================
--- bp-core/bp-core-classes.php
+++ bp-core/bp-core-classes.php
@@ -1283,6 +1283,4 @@ class BP_Embed extends WP_Embed {
 		// Still unknown
 		return $this->maybe_make_link( $url );
 	}
-}
-
-?>
+}
\ No newline at end of file
Index: bp-core/bp-core-component.php
===================================================================
--- bp-core/bp-core-component.php
+++ bp-core/bp-core-component.php
@@ -384,6 +384,4 @@ class BP_Component {
 		do_action( 'bp_' . $this->id . '_generate_rewrite_rules' );
 	}
 }
-endif; // BP_Component
-
-?>
+endif; // BP_Component
\ No newline at end of file
Index: bp-core/bp-core-cssjs.php
===================================================================
--- bp-core/bp-core-cssjs.php
+++ bp-core/bp-core-cssjs.php
@@ -138,6 +138,4 @@ function bp_core_add_ajax_url_js() {
 
 <?php
 }
-add_action( 'wp_head', 'bp_core_add_ajax_url_js' );
-
-?>
\ No newline at end of file
+add_action( 'wp_head', 'bp_core_add_ajax_url_js' );
\ No newline at end of file
Index: bp-core/bp-core-dependency.php
===================================================================
--- bp-core/bp-core-dependency.php
+++ bp-core/bp-core-dependency.php
@@ -230,5 +230,4 @@ function bp_generate_rewrite_rules( $wp_rewrite ) {
  */
 function bp_allowed_themes( $themes ) {
 	return apply_filters( 'bp_allowed_themes', $themes );
-}
-
+}
\ No newline at end of file
Index: bp-core/bp-core-filters.php
===================================================================
--- bp-core/bp-core-filters.php
+++ bp-core/bp-core-filters.php
@@ -413,4 +413,4 @@ function bp_modify_page_title( $title, $sep, $seplocation ) {
 add_filter( 'wp_title', 'bp_modify_page_title', 10, 3 );
 add_filter( 'bp_modify_page_title', 'wptexturize'     );
 add_filter( 'bp_modify_page_title', 'convert_chars'   );
-add_filter( 'bp_modify_page_title', 'esc_html'        );
+add_filter( 'bp_modify_page_title', 'esc_html'        );
\ No newline at end of file
Index: bp-core/bp-core-functions.php
===================================================================
--- bp-core/bp-core-functions.php
+++ bp-core/bp-core-functions.php
@@ -1205,6 +1205,4 @@ function bp_verify_nonce_request( $action = '', $query_arg = '_wpnonce' ) {
 	do_action( 'bp_verify_nonce_request', $action, $result );
 
 	return $result;
-}
-
-?>
+}
\ No newline at end of file
Index: bp-core/bp-core-loader.php
===================================================================
--- bp-core/bp-core-loader.php
+++ bp-core/bp-core-loader.php
@@ -245,6 +245,4 @@ function bp_setup_core() {
 	global $bp;
 	$bp->core = new BP_Core();
 }
-add_action( 'bp_setup_components', 'bp_setup_core', 2 );
-
-?>
\ No newline at end of file
+add_action( 'bp_setup_components', 'bp_setup_core', 2 );
\ No newline at end of file
Index: bp-core/bp-core-moderation.php
===================================================================
--- bp-core/bp-core-moderation.php
+++ bp-core/bp-core-moderation.php
@@ -264,5 +264,4 @@ function bp_core_current_user_ua() {
 		$retval = '';
 
 	return apply_filters( 'bp_core_current_user_ua', $retval );
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-core/bp-core-options.php
===================================================================
--- bp-core/bp-core-options.php
+++ bp-core/bp-core-options.php
@@ -535,4 +535,4 @@ function bp_is_akismet_active( $default = true ) {
  */
 function bp_get_theme_package_id( $default = 'legacy' ) {
 	return apply_filters( 'bp_get_theme_package_id', get_option( '_bp_theme_package_id', $default ) );
-}
+}
\ No newline at end of file
Index: bp-core/bp-core-template-loader.php
===================================================================
--- bp-core/bp-core-template-loader.php
+++ bp-core/bp-core-template-loader.php
@@ -296,4 +296,4 @@ function bp_get_theme_compat_templates() {
 		'index.php'
 	);
 	return bp_get_query_template( 'buddypress', $templates );
-}
+}
\ No newline at end of file
Index: bp-core/bp-core-template.php
===================================================================
--- bp-core/bp-core-template.php
+++ bp-core/bp-core-template.php
@@ -1751,6 +1751,4 @@ function bp_the_body_class() {
 
 		return apply_filters( 'bp_get_the_body_class', $classes, $bp_classes, $wp_classes, $custom_classes );
 	}
-	add_filter( 'body_class', 'bp_get_the_body_class', 10, 2 );
-
-?>
\ No newline at end of file
+	add_filter( 'body_class', 'bp_get_the_body_class', 10, 2 );
\ No newline at end of file
Index: bp-core/bp-core-theme-compatibility.php
===================================================================
--- bp-core/bp-core-theme-compatibility.php
+++ bp-core/bp-core-theme-compatibility.php
@@ -635,4 +635,4 @@ function bp_comments_open( $open, $post_id = 0 ) {
 
 	// Allow override of the override
 	return apply_filters( 'bp_force_comment_status', $retval, $open, $post_id );
-}
+}
\ No newline at end of file
Index: bp-core/bp-core-update.php
===================================================================
--- bp-core/bp-core-update.php
+++ bp-core/bp-core-update.php
@@ -192,6 +192,4 @@ function bp_deactivation() {
  */
 function bp_uninstall() {
 	do_action( 'bp_uninstall' );
-}
-
-?>
+}
\ No newline at end of file
Index: bp-core/bp-core-widgets.php
===================================================================
--- bp-core/bp-core-widgets.php
+++ bp-core/bp-core-widgets.php
@@ -321,6 +321,4 @@ function bp_core_ajax_widget_members() {
 	<?php endif;
 }
 add_action( 'wp_ajax_widget_members', 'bp_core_ajax_widget_members' );
-add_action( 'wp_ajax_nopriv_widget_members', 'bp_core_ajax_widget_members' );
-
-?>
+add_action( 'wp_ajax_nopriv_widget_members', 'bp_core_ajax_widget_members' );
\ No newline at end of file
Index: bp-core/bp-core-wpabstraction.php
===================================================================
--- bp-core/bp-core-wpabstraction.php
+++ bp-core/bp-core-wpabstraction.php
@@ -169,6 +169,4 @@ if ( !function_exists( 'mb_strrpos' ) ) {
 			return false;
 		}
 	}
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-core/deprecated/1.5.php
===================================================================
--- bp-core/deprecated/1.5.php
+++ bp-core/deprecated/1.5.php
@@ -662,5 +662,4 @@ function bp_core_screen_delete_account_title() {
  */
 function bp_core_screen_delete_account_content() {
 	_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-core/deprecated/1.6.php
===================================================================
--- bp-core/deprecated/1.6.php
+++ bp-core/deprecated/1.6.php
@@ -260,5 +260,4 @@ if ( !function_exists( 'bp_dtheme_register_actions' ) ) :
 		}
 	}
 	add_action( 'after_setup_theme', 'bp_die_legacy_ajax_callbacks', 20 );
-endif;
-?>
\ No newline at end of file
+endif;
\ No newline at end of file
Index: bp-forums/bp-forums-actions.php
===================================================================
--- bp-forums/bp-forums-actions.php
+++ bp-forums/bp-forums-actions.php
@@ -1,5 +1,3 @@
 <?php
 // Exit if accessed directly
-if ( !defined( 'ABSPATH' ) ) exit;
-
-?>
\ No newline at end of file
+if ( !defined( 'ABSPATH' ) ) exit;
\ No newline at end of file
Index: bp-forums/bp-forums-admin.php
===================================================================
--- bp-forums/bp-forums-admin.php
+++ bp-forums/bp-forums-admin.php
@@ -416,6 +416,4 @@ function bp_forums_bbpress_write( $file_source, $file_target, $alterations ) {
 	@chmod( $file_target, 0666 );
 
 	return 1;
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-forums/bp-forums-bbpress-sa.php
===================================================================
--- bp-forums/bp-forums-bbpress-sa.php
+++ bp-forums/bp-forums-bbpress-sa.php
@@ -419,6 +419,4 @@ function bp_bb_dbDelta($queries, $execute = true) {
 	}
 
 	return $for_update;
-}
-
-?>
+}
\ No newline at end of file
Index: bp-forums/bp-forums-bbpress.php
===================================================================
--- bp-forums/bp-forums-bbpress.php
+++ bp-forums/bp-forums-bbpress.php
@@ -4,5 +4,4 @@
  */
 
 // Exit if accessed directly
-if ( !defined( 'ABSPATH' ) ) exit;
-?>
\ No newline at end of file
+if ( !defined( 'ABSPATH' ) ) exit;
\ No newline at end of file
Index: bp-forums/bp-forums-filters.php
===================================================================
--- bp-forums/bp-forums-filters.php
+++ bp-forums/bp-forums-filters.php
@@ -204,6 +204,4 @@ function bp_forums_add_replied_where_sql( $sql ) {
 	$sql = str_replace( " AND t.topic_poster = '" . bp_displayed_user_id() . "'", '', $sql );
 
 	return $sql;
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-forums/bp-forums-functions.php
===================================================================
--- bp-forums/bp-forums-functions.php
+++ bp-forums/bp-forums-functions.php
@@ -745,5 +745,4 @@ function bp_embed_forum_cache( $cache, $id, $cachekey ) {
  */
 function bp_embed_forum_save_cache( $cache, $cachekey, $id ) {
 	bb_update_postmeta( $id, $cachekey, $cache );
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-forums/bp-forums-loader.php
===================================================================
--- bp-forums/bp-forums-loader.php
+++ bp-forums/bp-forums-loader.php
@@ -250,6 +250,4 @@ function bp_setup_forums() {
 
 	$bp->forums = new BP_Forums_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_forums', 6 );
-
-?>
\ No newline at end of file
+add_action( 'bp_setup_components', 'bp_setup_forums', 6 );
\ No newline at end of file
Index: bp-forums/bp-forums-screens.php
===================================================================
--- bp-forums/bp-forums-screens.php
+++ bp-forums/bp-forums-screens.php
@@ -123,5 +123,4 @@ function bp_forums_screen_single_topic() {
 
 	bp_core_load_template( apply_filters( 'bp_forums_screen_single_topic', 'forums/single/topic' ) );
 }
-add_action( 'bp_screens', 'bp_forums_screen_single_topic' );
-?>
+add_action( 'bp_screens', 'bp_forums_screen_single_topic' );
\ No newline at end of file
Index: bp-forums/bp-forums-template.php
===================================================================
--- bp-forums/bp-forums-template.php
+++ bp-forums/bp-forums-template.php
@@ -1464,5 +1464,4 @@ function bp_forum_topic_count( $user_id = 0 ) {
 }
 	function bp_get_forum_topic_count( $user_id = 0 ) {
 		return apply_filters( 'bp_get_forum_topic_count', bp_forums_total_topic_count( $user_id ) );
-	}
-?>
+	}
\ No newline at end of file
Index: bp-forums/deprecated/1.6.php
===================================================================
--- bp-forums/deprecated/1.6.php
+++ bp-forums/deprecated/1.6.php
@@ -198,6 +198,4 @@ function bp_forums_bbpress_install_wizard() {
 			<?php }
 		break;
 	}
-}
-
-?>
+}
\ No newline at end of file
Index: bp-friends/bp-friends-actions.php
===================================================================
--- bp-friends/bp-friends-actions.php
+++ bp-friends/bp-friends-actions.php
@@ -82,6 +82,4 @@ function friends_action_remove_friend() {
 
 	return false;
 }
-add_action( 'bp_init', 'friends_action_remove_friend' );
-
-?>
+add_action( 'bp_init', 'friends_action_remove_friend' );
\ No newline at end of file
Index: bp-friends/bp-friends-activity.php
===================================================================
--- bp-friends/bp-friends-activity.php
+++ bp-friends/bp-friends-activity.php
@@ -120,6 +120,4 @@ function friends_format_notifications( $action, $item_id, $secondary_item_id, $t
 	do_action( 'friends_format_notifications', $action, $item_id, $secondary_item_id, $total_items, $return );
 
 	return $return;
-}
-
-?>
+}
\ No newline at end of file
Index: bp-friends/bp-friends-cache.php
===================================================================
--- bp-friends/bp-friends-cache.php
+++ bp-friends/bp-friends-cache.php
@@ -38,6 +38,4 @@ add_action( 'friends_friendship_deleted',  'friends_clear_friend_object_cache' )
 add_action( 'friends_friendship_rejected',  'bp_core_clear_cache' );
 add_action( 'friends_friendship_accepted',  'bp_core_clear_cache' );
 add_action( 'friends_friendship_deleted',   'bp_core_clear_cache' );
-add_action( 'friends_friendship_requested', 'bp_core_clear_cache' );
-
-?>
+add_action( 'friends_friendship_requested', 'bp_core_clear_cache' );
\ No newline at end of file
Index: bp-friends/bp-friends-classes.php
===================================================================
--- bp-friends/bp-friends-classes.php
+++ bp-friends/bp-friends-classes.php
@@ -345,6 +345,4 @@ class BP_Friends_Friendship {
 			BP_Friends_Friendship::total_friend_count( $friend_id );
 		}
 	}
-}
-
-?>
+}
\ No newline at end of file
Index: bp-friends/bp-friends-functions.php
===================================================================
--- bp-friends/bp-friends-functions.php
+++ bp-friends/bp-friends-functions.php
@@ -353,6 +353,4 @@ function friends_remove_data( $user_id ) {
 }
 add_action( 'wpmu_delete_user',  'friends_remove_data' );
 add_action( 'delete_user',       'friends_remove_data' );
-add_action( 'bp_make_spam_user', 'friends_remove_data' );
-
-?>
+add_action( 'bp_make_spam_user', 'friends_remove_data' );
\ No newline at end of file
Index: bp-friends/bp-friends-loader.php
===================================================================
--- bp-friends/bp-friends-loader.php
+++ bp-friends/bp-friends-loader.php
@@ -214,6 +214,4 @@ function bp_setup_friends() {
 	global $bp;
 	$bp->friends = new BP_Friends_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_friends', 6 );
-
-?>
\ No newline at end of file
+add_action( 'bp_setup_components', 'bp_setup_friends', 6 );
\ No newline at end of file
Index: bp-friends/bp-friends-notifications.php
===================================================================
--- bp-friends/bp-friends-notifications.php
+++ bp-friends/bp-friends-notifications.php
@@ -88,6 +88,4 @@ To view %2$s\'s profile: %3$s
 	wp_mail( $to, $subject, $message );
 
 	do_action( 'bp_friends_sent_accepted_email', $initiator_id, $subject, $message, $friendship_id, $friend_id );
-}
-
-?>
+}
\ No newline at end of file
Index: bp-friends/bp-friends-screens.php
===================================================================
--- bp-friends/bp-friends-screens.php
+++ bp-friends/bp-friends-screens.php
@@ -107,6 +107,4 @@ function friends_screen_notification_settings() {
 
 <?php
 }
-add_action( 'bp_notification_settings', 'friends_screen_notification_settings' );
-
-?>
+add_action( 'bp_notification_settings', 'friends_screen_notification_settings' );
\ No newline at end of file
Index: bp-friends/bp-friends-template.php
===================================================================
--- bp-friends/bp-friends-template.php
+++ bp-friends/bp-friends-template.php
@@ -429,6 +429,4 @@ function bp_friend_total_requests_count( $user_id = 0 ) {
 			$user_id = bp_loggedin_user_id();
 
 		return apply_filters( 'bp_friend_get_total_requests_count', count( BP_Friends_Friendship::get_friend_user_ids( $user_id, true ) ) );
-	}
-
-?>
+	}
\ No newline at end of file
Index: bp-groups/bp-groups-actions.php
===================================================================
--- bp-groups/bp-groups-actions.php
+++ bp-groups/bp-groups-actions.php
@@ -320,6 +320,4 @@ function groups_action_group_feed() {
 	include_once( BP_PLUGIN_DIR . '/bp-activity/feeds/bp-activity-group-feed.php' );
 	die;
 }
-add_action( 'bp_actions', 'groups_action_group_feed' );
-
-?>
+add_action( 'bp_actions', 'groups_action_group_feed' );
\ No newline at end of file
Index: bp-groups/bp-groups-activity.php
===================================================================
--- bp-groups/bp-groups-activity.php
+++ bp-groups/bp-groups-activity.php
@@ -311,6 +311,4 @@ function groups_format_notifications( $action, $item_id, $secondary_item_id, $to
 	do_action( 'groups_format_notifications', $action, $item_id, $secondary_item_id, $total_items );
 
 	return false;
-}
-
-?>
+}
\ No newline at end of file
Index: bp-groups/bp-groups-admin.php
===================================================================
--- bp-groups/bp-groups-admin.php
+++ bp-groups/bp-groups-admin.php
@@ -631,7 +631,6 @@ function bp_groups_admin_index() {
  */
 function bp_groups_admin_edit_metabox_settings( $item ) {
 	$invite_status = groups_get_groupmeta( $item->id, 'invite_status' );
-
 ?>
 
 	<div class="bp-groups-settings-section" id="bp-groups-settings-section-forum">
@@ -811,6 +810,7 @@ function bp_groups_admin_edit_metabox_status( $item ) {
 		'gid'  => $item->id
 	), is_network_admin() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) );
 ?>
+
 	<div id="submitcomment" class="submitbox">
 		<div id="major-publishing-actions">
 			<div id="delete-action">
@@ -1292,6 +1292,4 @@ class BP_Groups_List_Table extends WP_List_Table {
 		$last_active = groups_get_groupmeta( $item['id'], 'last_activity' );
 		echo apply_filters_ref_array( 'bp_groups_admin_get_group_last_active', array( $last_active, $item ) );
 	}
-}
-
-?>
+}
\ No newline at end of file
Index: bp-groups/bp-groups-adminbar.php
===================================================================
--- bp-groups/bp-groups-adminbar.php
+++ bp-groups/bp-groups-adminbar.php
@@ -115,6 +115,4 @@ function bp_groups_remove_edit_page_menu() {
 		remove_action( 'admin_bar_menu', 'wp_admin_bar_edit_menu', 80 );
 	}
 }
-add_action( 'bp_init', 'bp_groups_remove_edit_page_menu', 99 );
-
-?>
+add_action( 'bp_init', 'bp_groups_remove_edit_page_menu', 99 );
\ No newline at end of file
Index: bp-groups/bp-groups-buddybar.php
===================================================================
--- bp-groups/bp-groups-buddybar.php
+++ bp-groups/bp-groups-buddybar.php
@@ -64,6 +64,4 @@ function bp_groups_adminbar_admin_menu() {
 
 	<?php
 }
-add_action( 'bp_adminbar_menus', 'bp_groups_adminbar_admin_menu', 20 );
-
-?>
+add_action( 'bp_adminbar_menus', 'bp_groups_adminbar_admin_menu', 20 );
\ No newline at end of file
Index: bp-groups/bp-groups-cache.php
===================================================================
--- bp-groups/bp-groups-cache.php
+++ bp-groups/bp-groups-cache.php
@@ -102,6 +102,4 @@ add_action( 'groups_membership_accepted',        'bp_core_clear_cache' );
 add_action( 'groups_membership_requested',       'bp_core_clear_cache' );
 add_action( 'groups_create_group_step_complete', 'bp_core_clear_cache' );
 add_action( 'groups_created_group',              'bp_core_clear_cache' );
-add_action( 'groups_group_avatar_updated',       'bp_core_clear_cache' );
-
-?>
+add_action( 'groups_group_avatar_updated',       'bp_core_clear_cache' );
\ No newline at end of file
Index: bp-groups/bp-groups-classes.php
===================================================================
--- bp-groups/bp-groups-classes.php
+++ bp-groups/bp-groups-classes.php
@@ -1442,6 +1442,4 @@ function bp_register_group_extension( $group_extension_class ) {
 		add_action( "bp_actions", array( &$extension, "_register" ), 8 );
 		add_action( "admin_init", array( &$extension, "_register" ) );
 	' ), 11 );
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-groups/bp-groups-filters.php
===================================================================
--- bp-groups/bp-groups-filters.php
+++ bp-groups/bp-groups-filters.php
@@ -168,6 +168,4 @@ add_filter( 'bb_current_user_can', 'groups_filter_bbpress_caps', 10, 3 );
 function groups_filter_forums_root_page_sql( $sql ) {
 	return apply_filters( 'groups_filter_bbpress_root_page_sql', 't.topic_id' );
 }
-add_filter( 'get_latest_topics_fields', 'groups_filter_forums_root_page_sql' );
-
-?>
+add_filter( 'get_latest_topics_fields', 'groups_filter_forums_root_page_sql' );
\ No newline at end of file
Index: bp-groups/bp-groups-forums.php
===================================================================
--- bp-groups/bp-groups-forums.php
+++ bp-groups/bp-groups-forums.php
@@ -403,6 +403,4 @@ function groups_total_public_forum_topic_count( $type = 'newest' ) {
  */
 function groups_total_forum_topic_count( $status = 'public', $search_terms = false ) {
 	return apply_filters( 'groups_total_forum_topic_count', BP_Groups_Group::get_global_topic_count( $status, $search_terms ) );
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-groups/bp-groups-functions.php
===================================================================
--- bp-groups/bp-groups-functions.php
+++ bp-groups/bp-groups-functions.php
@@ -1005,6 +1005,4 @@ function groups_remove_data_for_user( $user_id ) {
 }
 add_action( 'wpmu_delete_user',  'groups_remove_data_for_user' );
 add_action( 'delete_user',       'groups_remove_data_for_user' );
-add_action( 'bp_make_spam_user', 'groups_remove_data_for_user' );
-
-?>
+add_action( 'bp_make_spam_user', 'groups_remove_data_for_user' );
\ No newline at end of file
Index: bp-groups/bp-groups-loader.php
===================================================================
--- bp-groups/bp-groups-loader.php
+++ bp-groups/bp-groups-loader.php
@@ -586,6 +586,4 @@ function bp_setup_groups() {
 
 	$bp->groups = new BP_Groups_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_groups', 6 );
-
-?>
+add_action( 'bp_setup_components', 'bp_setup_groups', 6 );
\ No newline at end of file
Index: bp-groups/bp-groups-notifications.php
===================================================================
--- bp-groups/bp-groups-notifications.php
+++ bp-groups/bp-groups-notifications.php
@@ -257,6 +257,4 @@ To view %5$s\'s profile visit: %6$s
 
 		do_action( 'bp_groups_sent_invited_email', $invited_user_id, $subject, $message, $group );
 	}
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
Index: bp-groups/bp-groups-screens.php
===================================================================
--- bp-groups/bp-groups-screens.php
+++ bp-groups/bp-groups-screens.php
@@ -1042,4 +1042,4 @@ class BP_Groups_Theme_Compat {
 		bp_buffer_template_part( 'groups/single/home' );
 	}
 }
-new BP_Groups_Theme_Compat();
+new BP_Groups_Theme_Compat();
\ No newline at end of file
Index: bp-groups/bp-groups-template.php
===================================================================
--- bp-groups/bp-groups-template.php
+++ bp-groups/bp-groups-template.php
@@ -683,8 +683,8 @@ function bp_group_search_form() {
 	$action = bp_displayed_user_domain() . bp_get_groups_slug() . '/my-groups/search/';
 	$label = __('Filter Groups', 'buddypress');
 	$name = 'group-filter-box';
-
 ?>
+
 	<form action="<?php echo $action ?>" id="group-search-form" method="post">
 		<label for="<?php echo $name ?>" id="<?php echo $name ?>-label"><?php echo $label ?></label>
 		<input type="search" name="<?php echo $name ?>" id="<?php echo $name ?>" value="<?php echo $value ?>"<?php echo $disabled ?> />
@@ -2895,5 +2895,4 @@ function bp_groups_action_link( $action = '', $query_args = '', $nonce = false )
 		// Return the url, if there is one
 		if ( !empty( $url ) )
 			return $url;
-	}
-?>
\ No newline at end of file
+	}
\ No newline at end of file
Index: bp-groups/bp-groups-widgets.php
===================================================================
--- bp-groups/bp-groups-widgets.php
+++ bp-groups/bp-groups-widgets.php
@@ -202,6 +202,4 @@ function groups_ajax_widget_groups_list() {
 
 }
 add_action( 'wp_ajax_widget_groups_list', 'groups_ajax_widget_groups_list' );
-add_action( 'wp_ajax_nopriv_widget_groups_list', 'groups_ajax_widget_groups_list' );
-
-?>
+add_action( 'wp_ajax_nopriv_widget_groups_list', 'groups_ajax_widget_groups_list' );
\ No newline at end of file
Index: bp-loader.php
===================================================================
--- bp-loader.php
+++ bp-loader.php
@@ -560,4 +560,4 @@ if ( defined( 'BUDDYPRESS_LATE_LOAD' ) ) {
 	$GLOBALS['bp'] = &buddypress();
 }
 
-endif;
+endif;
\ No newline at end of file
Index: bp-members/bp-members-actions.php
===================================================================
--- bp-members/bp-members-actions.php
+++ bp-members/bp-members-actions.php
@@ -109,6 +109,4 @@ function bp_core_get_random_member() {
 	$user = bp_core_get_users( array( 'type' => 'random', 'per_page' => 1 ) );
 	bp_core_redirect( bp_core_get_user_domain( $user['users'][0]->id ) );
 }
-add_action( 'bp_actions', 'bp_core_get_random_member' );
-
-?>
+add_action( 'bp_actions', 'bp_core_get_random_member' );
\ No newline at end of file
Index: bp-members/bp-members-adminbar.php
===================================================================
--- bp-members/bp-members-adminbar.php
+++ bp-members/bp-members-adminbar.php
@@ -183,6 +183,4 @@ function bp_members_remove_edit_page_menu() {
 		remove_action( 'admin_bar_menu', 'wp_admin_bar_edit_menu', 80 );
 	}
 }
-add_action( 'bp_init', 'bp_members_remove_edit_page_menu', 99 );
-
-?>
+add_action( 'bp_init', 'bp_members_remove_edit_page_menu', 99 );
\ No newline at end of file
Index: bp-members/bp-members-buddybar.php
===================================================================
--- bp-members/bp-members-buddybar.php
+++ bp-members/bp-members-buddybar.php
@@ -147,6 +147,4 @@ function bp_members_adminbar_admin_menu() {
 
 	<?php
 }
-add_action( 'bp_adminbar_menus', 'bp_members_adminbar_admin_menu', 20 );
-
-?>
+add_action( 'bp_adminbar_menus', 'bp_members_adminbar_admin_menu', 20 );
\ No newline at end of file
Index: bp-members/bp-members-filters.php
===================================================================
--- bp-members/bp-members-filters.php
+++ bp-members/bp-members-filters.php
@@ -77,6 +77,4 @@ function bp_members_edit_profile_url( $url, $user_id, $scheme = 'admin' ) {
 	
 	return apply_filters( 'bp_members_edit_profile_url', $profile_link, $url, $user_id, $scheme );
 }
-add_filter( 'edit_profile_url', 'bp_members_edit_profile_url', 10, 3 );
-
-?>
+add_filter( 'edit_profile_url', 'bp_members_edit_profile_url', 10, 3 );
\ No newline at end of file
Index: bp-members/bp-members-functions.php
===================================================================
--- bp-members/bp-members-functions.php
+++ bp-members/bp-members-functions.php
@@ -1367,6 +1367,4 @@ function bp_core_wpsignup_redirect() {
 	if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) )
 		bp_core_redirect( bp_get_signup_page() );
 }
-add_action( 'bp_init', 'bp_core_wpsignup_redirect' );
-
-?>
+add_action( 'bp_init', 'bp_core_wpsignup_redirect' );
\ No newline at end of file
Index: bp-members/bp-members-loader.php
===================================================================
--- bp-members/bp-members-loader.php
+++ bp-members/bp-members-loader.php
@@ -208,6 +208,4 @@ function bp_setup_members() {
 	global $bp;
 	$bp->members = new BP_Members_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_members', 1 );
-
-?>
+add_action( 'bp_setup_components', 'bp_setup_members', 1 );
\ No newline at end of file
Index: bp-members/bp-members-notifications.php
===================================================================
--- bp-members/bp-members-notifications.php
+++ bp-members/bp-members-notifications.php
@@ -248,6 +248,4 @@ function bp_core_check_notification_access( $user_id, $notification_id ) {
 		return false;
 
 	return true;
-}
-
-?>
+}
\ No newline at end of file
Index: bp-members/bp-members-screens.php
===================================================================
--- bp-members/bp-members-screens.php
+++ bp-members/bp-members-screens.php
@@ -333,4 +333,4 @@ class BP_Members_Theme_Compat {
 		bp_buffer_template_part( 'members/index' );
 	}
 }
-new BP_Members_Theme_Compat();
+new BP_Members_Theme_Compat();
\ No newline at end of file
Index: bp-members/bp-members-template.php
===================================================================
--- bp-members/bp-members-template.php
+++ bp-members/bp-members-template.php
@@ -1182,6 +1182,4 @@ function bp_members_component_link( $component, $action = '', $query_args = '',
 		// Return the url, if there is one
 		if ( !empty( $url ) )
 			return $url;
-	}
-
-?>
+	}
\ No newline at end of file
Index: bp-messages/bp-messages-actions.php
===================================================================
--- bp-messages/bp-messages-actions.php
+++ bp-messages/bp-messages-actions.php
@@ -112,6 +112,4 @@ function messages_action_bulk_delete() {
 		bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() . '/' . bp_current_action() ) );
 	}
 }
-add_action( 'bp_actions', 'messages_action_bulk_delete' );
-
-?>
+add_action( 'bp_actions', 'messages_action_bulk_delete' );
\ No newline at end of file
Index: bp-messages/bp-messages-cache.php
===================================================================
--- bp-messages/bp-messages-cache.php
+++ bp-messages/bp-messages-cache.php
@@ -21,6 +21,4 @@ add_action( 'messages_message_sent',   'bp_core_clear_cache' );
 // Don't cache message inbox/sentbox/compose as it's too problematic
 add_action( 'messages_screen_compose', 'bp_core_clear_cache' );
 add_action( 'messages_screen_sentbox', 'bp_core_clear_cache' );
-add_action( 'messages_screen_inbox',   'bp_core_clear_cache' );
-
-?>
+add_action( 'messages_screen_inbox',   'bp_core_clear_cache' );
\ No newline at end of file
Index: bp-messages/bp-messages-classes.php
===================================================================
--- bp-messages/bp-messages-classes.php
+++ bp-messages/bp-messages-classes.php
@@ -557,6 +557,4 @@ class BP_Messages_Notice {
 		$notice_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_notices} WHERE is_active = 1" ) );
 		return new BP_Messages_Notice( $notice_id );
 	}
-}
-
-?>
+}
\ No newline at end of file
Index: bp-messages/bp-messages-cssjs.php
===================================================================
--- bp-messages/bp-messages-cssjs.php
+++ bp-messages/bp-messages-cssjs.php
@@ -53,6 +53,4 @@ function messages_autocomplete_init_jsblock() {
 	</script>
 
 <?php
-}
-
-?>
+}
\ No newline at end of file
Index: bp-messages/bp-messages-filters.php
===================================================================
--- bp-messages/bp-messages-filters.php
+++ bp-messages/bp-messages-filters.php
@@ -65,6 +65,4 @@ add_filter( 'bp_get_message_thread_excerpt',     'stripslashes_deep' );
 add_filter( 'bp_get_messages_subject_value',     'stripslashes_deep' );
 add_filter( 'bp_get_messages_content_value',     'stripslashes_deep' );
 add_filter( 'bp_get_the_thread_message_content', 'stripslashes_deep' );
-add_filter( 'bp_get_the_thread_subject',         'stripslashes_deep' );
-
-?>
+add_filter( 'bp_get_the_thread_subject',         'stripslashes_deep' );
\ No newline at end of file
Index: bp-messages/bp-messages-functions.php
===================================================================
--- bp-messages/bp-messages-functions.php
+++ bp-messages/bp-messages-functions.php
@@ -253,6 +253,4 @@ function messages_format_notifications( $action, $item_id, $secondary_item_id, $
 	do_action( 'messages_format_notifications', $action, $item_id, $secondary_item_id, $total_items );
 
 	return $return;
-}
-
-?>
+}
\ No newline at end of file
Index: bp-messages/bp-messages-loader.php
===================================================================
--- bp-messages/bp-messages-loader.php
+++ bp-messages/bp-messages-loader.php
@@ -266,6 +266,4 @@ function bp_setup_messages() {
 	global $bp;
 	$bp->messages = new BP_Messages_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_messages', 6 );
-
-?>
\ No newline at end of file
+add_action( 'bp_setup_components', 'bp_setup_messages', 6 );
\ No newline at end of file
Index: bp-messages/bp-messages-notifications.php
===================================================================
--- bp-messages/bp-messages-notifications.php
+++ bp-messages/bp-messages-notifications.php
@@ -69,6 +69,4 @@ To view and read your messages please log in and visit: %4$s
 	}
 
 	do_action( 'bp_messages_sent_notification_email', $recipients, $email_subject, $email_content, $args );
-}
-
-?>
+}
\ No newline at end of file
Index: bp-messages/bp-messages-screens.php
===================================================================
--- bp-messages/bp-messages-screens.php
+++ bp-messages/bp-messages-screens.php
@@ -171,6 +171,4 @@ function messages_screen_notification_settings() {
 
 <?php
 }
-add_action( 'bp_notification_settings', 'messages_screen_notification_settings', 2 );
-
-?>
+add_action( 'bp_notification_settings', 'messages_screen_notification_settings', 2 );
\ No newline at end of file
Index: bp-messages/bp-messages-template.php
===================================================================
--- bp-messages/bp-messages-template.php
+++ bp-messages/bp-messages-template.php
@@ -945,6 +945,4 @@ function bp_the_thread_message_content() {
 function bp_messages_embed() {
 	add_filter( 'embed_post_id', 'bp_get_message_thread_id' );
 }
-add_action( 'messages_box_loop_start', 'bp_messages_embed' );
-
-?>
+add_action( 'messages_box_loop_start', 'bp_messages_embed' );
\ No newline at end of file
Index: bp-settings/bp-settings-actions.php
===================================================================
--- bp-settings/bp-settings-actions.php
+++ bp-settings/bp-settings-actions.php
@@ -346,6 +346,4 @@ function bp_settings_action_delete_account() {
 		}
 	}
 }
-add_action( 'bp_actions', 'bp_settings_action_delete_account' );
-
-?>
+add_action( 'bp_actions', 'bp_settings_action_delete_account' );
\ No newline at end of file
Index: bp-settings/bp-settings-functions.php
===================================================================
--- bp-settings/bp-settings-functions.php
+++ bp-settings/bp-settings-functions.php
@@ -8,6 +8,4 @@
  */
 
 // Exit if accessed directly
-if ( !defined( 'ABSPATH' ) ) exit;
-
-?>
\ No newline at end of file
+if ( !defined( 'ABSPATH' ) ) exit;
\ No newline at end of file
Index: bp-settings/bp-settings-loader.php
===================================================================
--- bp-settings/bp-settings-loader.php
+++ bp-settings/bp-settings-loader.php
@@ -205,6 +205,4 @@ function bp_setup_settings() {
 	global $bp;
 	$bp->settings = new BP_Settings_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_settings', 6 );
-
-?>
\ No newline at end of file
+add_action( 'bp_setup_components', 'bp_setup_settings', 6 );
\ No newline at end of file
Index: bp-settings/bp-settings-screens.php
===================================================================
--- bp-settings/bp-settings-screens.php
+++ bp-settings/bp-settings-screens.php
@@ -78,6 +78,4 @@ function bp_settings_screen_capabilities() {
 
 	// Load the template
 	bp_core_load_template( apply_filters( 'bp_settings_screen_capabilities', 'members/single/settings/capabilities' ) );
-}
-
-?>
+}
\ No newline at end of file
Index: bp-settings/bp-settings-template.php
===================================================================
--- bp-settings/bp-settings-template.php
+++ bp-settings/bp-settings-template.php
@@ -56,6 +56,4 @@ function bp_settings_root_slug() {
 	function bp_get_settings_root_slug() {
 		global $bp;
 		return apply_filters( 'bp_get_settings_root_slug', $bp->settings->root_slug );
-	}
-
-?>
\ No newline at end of file
+	}
\ No newline at end of file
Index: bp-themes/index.php
===================================================================
--- bp-themes/index.php
+++ bp-themes/index.php
@@ -2,6 +2,4 @@
 
 /**
  * @todo move bp-default to WordPress.org theme repo
- */
-
-?>
+ */
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-actions.php
===================================================================
--- bp-xprofile/bp-xprofile-actions.php
+++ bp-xprofile/bp-xprofile-actions.php
@@ -42,4 +42,4 @@ function xprofile_action_delete_avatar() {
 
 	bp_core_redirect( wp_get_referer() );
 }
-add_action( 'bp_actions', 'xprofile_action_delete_avatar' );
+add_action( 'bp_actions', 'xprofile_action_delete_avatar' );
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-activity.php
===================================================================
--- bp-xprofile/bp-xprofile-activity.php
+++ bp-xprofile/bp-xprofile-activity.php
@@ -131,6 +131,4 @@ function bp_xprofile_new_avatar_activity() {
 		'type' => 'new_avatar'
 	) );
 }
-add_action( 'xprofile_avatar_uploaded', 'bp_xprofile_new_avatar_activity' );
-
-?>
+add_action( 'xprofile_avatar_uploaded', 'bp_xprofile_new_avatar_activity' );
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-admin.php
===================================================================
--- bp-xprofile/bp-xprofile-admin.php
+++ bp-xprofile/bp-xprofile-admin.php
@@ -465,6 +465,4 @@ function xprofile_admin_field( $admin_field, $admin_group, $class = '' ) {
 	</fieldset>
 
 <?php
-}
-
-?>
+}
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-buddybar.php
===================================================================
--- bp-xprofile/bp-xprofile-buddybar.php
+++ bp-xprofile/bp-xprofile-buddybar.php
@@ -1,6 +1,4 @@
 <?php
 
 // Exit if accessed directly
-if ( !defined( 'ABSPATH' ) ) exit;
-
-?>
\ No newline at end of file
+if ( !defined( 'ABSPATH' ) ) exit;
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-cache.php
===================================================================
--- bp-xprofile/bp-xprofile-cache.php
+++ bp-xprofile/bp-xprofile-cache.php
@@ -28,6 +28,4 @@ add_action( 'xprofile_groups_saved_group',   'xprofile_clear_profile_groups_obje
 add_action( 'xprofile_updated_profile',      'xprofile_clear_profile_data_object_cache'   );
 
 // List actions to clear super cached pages on, if super cache is installed
-add_action( 'xprofile_updated_profile', 'bp_core_clear_cache' );
-
-?>
+add_action( 'xprofile_updated_profile',      'bp_core_clear_cache' );
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-caps.php
===================================================================
--- bp-xprofile/bp-xprofile-caps.php
+++ bp-xprofile/bp-xprofile-caps.php
@@ -57,5 +57,4 @@ function bp_xprofile_map_meta_caps( $caps, $cap, $user_id, $args ) {
 
 	return apply_filters( 'bp_xprofile_map_meta_caps', $caps, $cap, $user_id, $args );
 }
-add_filter( 'bp_map_meta_caps', 'bp_xprofile_map_meta_caps', 10, 4 );
-?>
\ No newline at end of file
+add_filter( 'bp_map_meta_caps', 'bp_xprofile_map_meta_caps', 10, 4 );
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-classes.php
===================================================================
--- bp-xprofile/bp-xprofile-classes.php
+++ bp-xprofile/bp-xprofile-classes.php
@@ -1229,4 +1229,4 @@ class BP_XProfile_ProfileData {
 
 		return $data[$field_name];
 	}
-}
+}
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-cssjs.php
===================================================================
--- bp-xprofile/bp-xprofile-cssjs.php
+++ bp-xprofile/bp-xprofile-cssjs.php
@@ -41,6 +41,4 @@ function xprofile_add_admin_js() {
 		wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . "bp-xprofile/admin/js/admin{$min}.js", array( 'jquery', 'jquery-ui-sortable' ), bp_get_version() );
 	}
 }
-add_action( 'admin_enqueue_scripts', 'xprofile_add_admin_js', 1 );
-
-?>
+add_action( 'admin_enqueue_scripts', 'xprofile_add_admin_js', 1 );
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-filters.php
===================================================================
--- bp-xprofile/bp-xprofile-filters.php
+++ bp-xprofile/bp-xprofile-filters.php
@@ -217,8 +217,4 @@ function xprofile_filter_comments( $comments, $post_id ) {
 
 	return $comments;
 }
-add_filter( 'comments_array', 'xprofile_filter_comments', 10, 2 );
-
-
-
-?>
+add_filter( 'comments_array', 'xprofile_filter_comments', 10, 2 );
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-functions.php
===================================================================
--- bp-xprofile/bp-xprofile-functions.php
+++ bp-xprofile/bp-xprofile-functions.php
@@ -741,7 +741,4 @@ function bp_xprofile_get_fields_by_visibility_levels( $user_id, $levels = array(
 	}
 
 	return $field_ids;
-}
-
-
-?>
+}
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-loader.php
===================================================================
--- bp-xprofile/bp-xprofile-loader.php
+++ bp-xprofile/bp-xprofile-loader.php
@@ -275,6 +275,4 @@ function bp_setup_xprofile() {
 	if ( !isset( $bp->profile->id ) )
 		$bp->profile = new BP_XProfile_Component();
 }
-add_action( 'bp_setup_components', 'bp_setup_xprofile', 6 );
-
-?>
+add_action( 'bp_setup_components', 'bp_setup_xprofile', 6 );
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-screens.php
===================================================================
--- bp-xprofile/bp-xprofile-screens.php
+++ bp-xprofile/bp-xprofile-screens.php
@@ -258,4 +258,4 @@ class BP_XProfile_Theme_Compat {
 		bp_buffer_template_part( 'members/single/home' );
 	}
 }
-new BP_XProfile_Theme_Compat();
+new BP_XProfile_Theme_Compat();
\ No newline at end of file
Index: bp-xprofile/bp-xprofile-template.php
===================================================================
--- bp-xprofile/bp-xprofile-template.php
+++ bp-xprofile/bp-xprofile-template.php
@@ -922,5 +922,4 @@ function bp_profile_visibility_radio_buttons() {
 		$html .= '</ul>';
 
 		return apply_filters( 'bp_profile_get_visibility_radio_buttons', $html );
-	}
-?>
+	}
\ No newline at end of file
