Ticket #6660: 6660-em.patch
File 6660-em.patch, 1.8 KB (added by , 9 years ago) |
---|
-
src/bp-groups/bp-groups-admin.php
525 525 } 526 526 527 527 if ( ! empty( $error_new ) ) { 528 $messages[] = sprintf( __( 'The following users could not be added to the group: <em>%s</em>', 'buddypress' ), implode( ', ', $error_new ));528 $messages[] = sprintf( __( 'The following users could not be added to the group: %s', 'buddypress' ), '<em>' . implode( ', ', $error_new ) . '</em>' ); 529 529 } 530 530 531 531 if ( ! empty( $success_new ) ) { 532 $messages[] = sprintf( __( 'The following users were successfully added to the group: <em>%s</em>', 'buddypress' ), implode( ', ', $success_new ));532 $messages[] = sprintf( __( 'The following users were successfully added to the group: %s', 'buddypress' ), '<em>' . implode( ', ', $success_new ) . '</em>' ); 533 533 } 534 534 535 535 if ( ! empty( $error_modified ) ) { 536 536 $error_modified = bp_groups_admin_get_usernames_from_ids( $error_modified ); 537 $messages[] = sprintf( __( 'An error occurred when trying to modify the following members: <em>%s</em>', 'buddypress' ), implode( ', ', $error_modified ));537 $messages[] = sprintf( __( 'An error occurred when trying to modify the following members: %s', 'buddypress' ), '<em>' . implode( ', ', $error_modified ) . '</em>' ); 538 538 } 539 539 540 540 if ( ! empty( $success_modified ) ) { 541 541 $success_modified = bp_groups_admin_get_usernames_from_ids( $success_modified ); 542 $messages[] = sprintf( __( 'The following members were successfully modified: <em>%s</em>', 'buddypress' ), implode( ', ', $success_modified ));542 $messages[] = sprintf( __( 'The following members were successfully modified: %s', 'buddypress' ), '<em>' . implode( ', ', $success_modified ) . '</em>' ); 543 543 } 544 544 } 545 545