Skip to:
Content

BuddyPress.org

Ticket #6660: 6660-em.patch

File 6660-em.patch, 1.8 KB (added by ramiy, 9 years ago)
  • src/bp-groups/bp-groups-admin.php

     
    525525                }
    526526
    527527                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>' );
    529529                }
    530530
    531531                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>' );
    533533                }
    534534
    535535                if ( ! empty( $error_modified ) ) {
    536536                        $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>' );
    538538                }
    539539
    540540                if ( ! empty( $success_modified ) ) {
    541541                        $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>' );
    543543                }
    544544        }
    545545