Ticket #5790: 5790.diff
File 5790.diff, 1.3 KB (added by , 9 years ago) |
---|
-
src/bp-templates/bp-legacy/buddypress-functions.php
1474 1474 } elseif ( 'public' == $group->status ) { 1475 1475 echo '<a id="group-' . esc_attr( $group->id ) . '" class="join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>'; 1476 1476 } elseif ( 'private' == $group->status ) { 1477 echo '<a id="group-' . esc_attr( $group->id ) . '" class="request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_ send_membership_request' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>';1477 echo '<a id="group-' . esc_attr( $group->id ) . '" class="request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>'; 1478 1478 } 1479 1479 } 1480 1480