Index: bp-xprofile-activity.php
===================================================================
--- bp-xprofile-activity.php	(revision 13516)
+++ bp-xprofile-activity.php	(working copy)
@@ -273,7 +273,7 @@
 function xprofile_activity_filter_options() {
 	?>
 
-	<option value="updated_profile"><?php _e( 'Profile Updates', 'buddypress' ) ?></option>
+	<option value="updated_profile"><?php esc_html_e( 'Profile Updates', 'buddypress' ) ?></option>
 
 	<?php
 }
Index: classes/class-bp-xprofile-field-type.php
===================================================================
--- classes/class-bp-xprofile-field-type.php	(revision 13516)
+++ classes/class-bp-xprofile-field-type.php	(working copy)
@@ -430,7 +430,7 @@
 							<input type="text" name="<?php echo esc_attr( "{$type}_option[{$j}]" ); ?>" id="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" value="<?php echo esc_attr( stripslashes( $options[ $i ]->name ) ); ?>" />
 							<label for="<?php echo esc_attr( "{$type}_option{$default_name}" ); ?>">
 								<input type="<?php echo esc_attr( $control_type ); ?>" id="<?php echo esc_attr( "{$type}_option{$default_name}" ); ?>" name="<?php echo esc_attr( "isDefault_{$type}_option{$default_name}" ); ?>" <?php checked( $options[ $i ]->is_default_option, true ); ?> value="<?php echo esc_attr( $j ); ?>" />
-								<?php _e( 'Default Value', 'buddypress' ); ?>
+								<?php esc_attr_e( 'Default Value', 'buddypress' ); ?>
 							</label>
 
 							<?php if ( 1 !== $j ) : ?>
Index: classes/class-bp-xprofile-field.php
===================================================================
--- classes/class-bp-xprofile-field.php	(revision 13516)
+++ classes/class-bp-xprofile-field.php	(working copy)
@@ -1573,9 +1573,9 @@
 		?>
 
 		<div id="field-type-member-types" class="postbox">
-			<h2><?php _e( 'Member Types', 'buddypress' ); ?></h2>
+			<h2><?php esc_attr_e( 'Member Types', 'buddypress' ); ?></h2>
 			<div class="inside">
-				<p class="description"><?php _e( 'This field should be available to:', 'buddypress' ); ?></p>
+				<p class="description"><?php esc_attr_e( 'This field should be available to:', 'buddypress' ); ?></p>
 
 				<ul>
 					<?php foreach ( $member_types as $member_type ) : ?>
@@ -1590,12 +1590,12 @@
 					<li>
 						<label for="member-type-none">
 							<input name="member-types[]" id="member-type-none" class="member-type-selector" type="checkbox" value="null" <?php checked( in_array( 'null', $field_member_types ) ); ?>/>
-							<?php _e( 'Users with no member type', 'buddypress' ); ?>
+							<?php esc_attr_e( 'Users with no member type', 'buddypress' ); ?>
 						</label>
 					</li>
 
 				</ul>
-				<p class="description member-type-none-notice<?php if ( ! empty( $field_member_types ) ) : ?> hide<?php endif; ?>"><?php _e( 'Unavailable to all members.', 'buddypress' ) ?></p>
+				<p class="description member-type-none-notice<?php if ( ! empty( $field_member_types ) ) : ?> hide<?php endif; ?>"><?php esc_attr_e( 'Unavailable to all members.', 'buddypress' ) ?></p>
 			</div>
 
 			<input type="hidden" name="has-member-types" value="1" />
Index: classes/class-bp-xprofile-user-admin.php
===================================================================
--- classes/class-bp-xprofile-user-admin.php	(revision 13516)
+++ classes/class-bp-xprofile-user-admin.php	(working copy)
@@ -342,7 +342,7 @@
 
 						<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
 							<fieldset>
-								<legend><?php _e( 'Who can see this field?', 'buddypress' ); ?></legend>
+								<legend><?php esc_html_e( 'Who can see this field?', 'buddypress' ); ?></legend>
 
 								<?php bp_profile_visibility_radio_buttons(); ?>
 
