Index: bp-members-notifications.php
===================================================================
--- bp-members-notifications.php	(revision 13516)
+++ bp-members-notifications.php	(working copy)
@@ -89,7 +89,7 @@
 	}
 
 	// Return either an HTML link or an array, depending on the requested format.
-	if ( 'string' == $format ) {
+	if ( 'string' === $format ) {
 
 		/**
 		 * Filters the format of members notifications based on type and amount * of notifications pending.
@@ -240,9 +240,9 @@
 		<thead>
 			<tr>
 				<th class="icon"></th>
-				<th class="title"><?php _ex( 'Members', 'Member settings on notification settings page', 'buddypress' ) ?></th>
-				<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
-				<th class="no"><?php _e( 'No', 'buddypress' )?></th>
+				<th class="title"><?php esc_html_x( 'Members', 'Member settings on notification settings page', 'buddypress' ) ?></th>
+				<th class="yes"><?php esc_html_e( 'Yes', 'buddypress' ) ?></th>
+				<th class="no"><?php esc_html_e( 'No', 'buddypress' )?></th>
 			</tr>
 		</thead>
 
Index: classes/class-bp-members-admin.php
===================================================================
--- classes/class-bp-members-admin.php	(revision 13516)
+++ classes/class-bp-members-admin.php	(working copy)
@@ -922,11 +922,11 @@
 			 */
 			if ( current_user_can( 'edit_user', $user->ID ) ) : ?>
 
-				<a class="nav-tab<?php echo esc_attr( $wp_active ); ?>" href="<?php echo esc_url( $wordpress_url );?>"><?php _e( 'Profile', 'buddypress' ); ?></a>
+				<a class="nav-tab<?php echo esc_attr( $wp_active ); ?>" href="<?php echo esc_url( $wordpress_url );?>"><?php esc_html_e( 'Profile', 'buddypress' ); ?></a>
 
 			<?php endif; ?>
 
-			<a class="nav-tab<?php echo esc_attr( $bp_active ); ?>" href="<?php echo esc_url( $community_url );?>"><?php _e( 'Extended Profile', 'buddypress' ); ?></a>
+			<a class="nav-tab<?php echo esc_attr( $bp_active ); ?>" href="<?php echo esc_url( $community_url );?>"><?php esc_html_e( 'Extended Profile', 'buddypress' ); ?></a>
 		</h2>
 
 		<?php
@@ -1910,7 +1910,7 @@
 			}
 
 			// Handle resent activation links.
-			if ( 'do_resend' == $doaction ) {
+			if ( 'do_resend' === $doaction ) {
 
 				// Nonce check.
 				check_admin_referer( 'signups_resend' );
@@ -1937,7 +1937,7 @@
 				bp_core_redirect( $redirect_to );
 
 			// Handle activated accounts.
-			} elseif ( 'do_activate' == $doaction ) {
+			} elseif ( 'do_activate' === $doaction ) {
 
 				// Nonce check.
 				check_admin_referer( 'signups_activate' );
@@ -1964,7 +1964,7 @@
 				bp_core_redirect( $redirect_to );
 
 			// Handle sign-ups delete.
-			} elseif ( 'do_delete' == $doaction ) {
+			} elseif ( 'do_delete' === $doaction ) {
 
 				// Nonce check.
 				check_admin_referer( 'signups_delete' );
@@ -2305,7 +2305,7 @@
 		?>
 
 		<div class="wrap">
-			<h1 class="wp-heading-inline"><?php _e( 'Users', 'buddypress' ); ?></h1>
+			<h1 class="wp-heading-inline"><?php esc_html_e( 'Users', 'buddypress' ); ?></h1>
 
 			<?php if ( current_user_can( 'create_users' ) ) : ?>
 
@@ -2378,7 +2378,7 @@
 		switch ( $action ) {
 			case 'delete' :
 				$header_text = __( 'Delete Pending Accounts', 'buddypress' );
-				if ( 1 == count( $signup_ids ) ) {
+				if ( 1 === count( $signup_ids ) ) {
 					$helper_text = __( 'You are about to delete the following account:', 'buddypress' );
 				} else {
 					$helper_text = __( 'You are about to delete the following accounts:', 'buddypress' );
@@ -2387,7 +2387,7 @@
 
 			case 'activate' :
 				$header_text = __( 'Activate Pending Accounts', 'buddypress' );
-				if ( 1 == count( $signup_ids ) ) {
+				if ( 1 === count( $signup_ids ) ) {
 					$helper_text = __( 'You are about to activate the following account:', 'buddypress' );
 				} else {
 					$helper_text = __( 'You are about to activate the following accounts:', 'buddypress' );
@@ -2441,7 +2441,7 @@
 
 		// Prefetch registration field data.
 		$fdata = array();
-		if ( bp_is_active( 'xprofile' ) && ( 'activate' == $action || ( 'resend' == $action && bp_get_membership_requests_required() ) ) ) {
+		if ( bp_is_active( 'xprofile' ) && ( 'activate' === $action || ( 'resend' === $action && bp_get_membership_requests_required() ) ) ) {
 			$field_groups = bp_xprofile_get_groups( array(
 				'exclude_fields'    => 1,
 				'update_meta_cache' => false,
@@ -2481,7 +2481,7 @@
 				<li>
 					<strong><?php echo esc_html( $signup->user_login ) ?></strong>
 
-					<?php if ( 'activate' == $action || ( 'resend' == $action && bp_get_membership_requests_required() ) ) : ?>
+					<?php if ( 'activate' === $action || ( 'resend' === $action && bp_get_membership_requests_required() ) ) : ?>
 						<table class="wp-list-table widefat fixed striped">
 							<tbody>
 								<tr>
@@ -2595,9 +2595,9 @@
 
 		$types = bp_get_member_types( array(), 'objects' ); ?>
 
-		<label class="screen-reader-text" for="<?php echo $id_name; ?>"><?php _e( 'Change member type to&hellip;', 'buddypress' ) ?></label>
+		<label class="screen-reader-text" for="<?php echo $id_name; ?>"><?php esc_html_e( 'Change member type to&hellip;', 'buddypress' ) ?></label>
 		<select name="<?php echo $id_name; ?>" id="<?php echo $id_name; ?>" style="display:inline-block;float:none;">
-			<option value=""><?php _e( 'Change member type to&hellip;', 'buddypress' ) ?></option>
+			<option value=""><?php esc_html_e( 'Change member type to&hellip;', 'buddypress' ) ?></option>
 
 			<?php foreach( $types as $type ) : ?>
 
@@ -2605,7 +2605,7 @@
 
 			<?php endforeach; ?>
 
-			<option value="remove_member_type"><?php _e( 'No Member Type', 'buddypress' ) ?></option>
+			<option value="remove_member_type"><?php esc_html_e( 'No Member Type', 'buddypress' ) ?></option>
 
 		</select>
 		<?php
