Changeset 10394 for trunk/src/bp-groups/bp-groups-admin.php
- Timestamp:
- 12/03/2015 04:51:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-admin.php
r10391 r10394 524 524 525 525 if ( ! empty( $error_new ) ) { 526 $messages[] = sprintf( __( 'The following users could not be added to the group: %s', 'buddypress' ), '<em>' . implode( ', ', $error_new) . '</em>' );526 $messages[] = sprintf( __( 'The following users could not be added to the group: %s', 'buddypress' ), '<em>' . esc_html( implode( ', ', $error_new ) ) . '</em>' ); 527 527 } 528 528 529 529 if ( ! empty( $success_new ) ) { 530 $messages[] = sprintf( __( 'The following users were successfully added to the group: %s', 'buddypress' ), '<em>' . implode( ', ', $success_new) . '</em>' );530 $messages[] = sprintf( __( 'The following users were successfully added to the group: %s', 'buddypress' ), '<em>' . esc_html( implode( ', ', $success_new ) ) . '</em>' ); 531 531 } 532 532 533 533 if ( ! empty( $error_modified ) ) { 534 534 $error_modified = bp_groups_admin_get_usernames_from_ids( $error_modified ); 535 $messages[] = sprintf( __( 'An error occurred when trying to modify the following members: %s', 'buddypress' ), '<em>' . implode( ', ', $error_modified) . '</em>' );535 $messages[] = sprintf( __( 'An error occurred when trying to modify the following members: %s', 'buddypress' ), '<em>' . esc_html( implode( ', ', $error_modified ) ) . '</em>' ); 536 536 } 537 537 538 538 if ( ! empty( $success_modified ) ) { 539 539 $success_modified = bp_groups_admin_get_usernames_from_ids( $success_modified ); 540 $messages[] = sprintf( __( 'The following members were successfully modified: %s', 'buddypress' ), '<em>' . implode( ', ', $success_modified) . '</em>' );540 $messages[] = sprintf( __( 'The following members were successfully modified: %s', 'buddypress' ), '<em>' . esc_html( implode( ', ', $success_modified ) ) . '</em>' ); 541 541 } 542 542 }
Note: See TracChangeset
for help on using the changeset viewer.