Skip to:
Content

BuddyPress.org

Changeset 11529


Ignore:
Timestamp:
04/07/2017 07:22:26 PM (3 years ago)
Author:
dcavins
Message:

Improve message after group invite acceptance.

Provide a link to the newly joined group in the “Group invite accepted”
success message.

Props r-a-y, dcavins.

Fixs #7486.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-screens.php

    r11405 r11529  
    8383            bp_core_add_message( __('Group invite could not be accepted', 'buddypress'), 'error' );
    8484        } else {
    85             bp_core_add_message( __('Group invite accepted', 'buddypress') );
    86 
    8785            // Record this in activity streams.
    8886            $group = groups_get_group( $group_id );
     87
     88            bp_core_add_message( sprintf( __( 'Group invite accepted. Visit %s.', 'buddypress' ), bp_get_group_link( $group ) ) );
    8989
    9090            groups_record_activity( array(
Note: See TracChangeset for help on using the changeset viewer.