Skip to:
Content

BuddyPress.org

Ticket #4161: 4161.branch.01.diff

File 4161.branch.01.diff, 2.0 KB (added by cnorris23, 12 years ago)

branch

  • bp-groups/bp-groups-template.php

     
    23582358        function bp_get_group_avatar_delete_link() {
    23592359                global $bp;
    23602360
    2361                 return apply_filters( 'bp_get_group_avatar_delete_link', wp_nonce_url( bp_get_group_permalink( $bp->groups->current_group ) . '/admin/group-avatar/delete', 'bp_group_avatar_delete' ) );
     2361                return apply_filters( 'bp_get_group_avatar_delete_link', wp_nonce_url( bp_get_group_permalink( $bp->groups->current_group ) . 'admin/group-avatar/delete', 'bp_group_avatar_delete' ) );
    23622362        }
    23632363
    23642364function bp_group_avatar_edit_form() {
     
    25252525        function bp_get_group_request_reject_link() {
    25262526                global $requests_template, $groups_template;
    25272527
    2528                 return apply_filters( 'bp_get_group_request_reject_link', wp_nonce_url( bp_get_group_permalink( $groups_template->group ) . '/admin/membership-requests/reject/' . $requests_template->request->id, 'groups_reject_membership_request' ) );
     2528                return apply_filters( 'bp_get_group_request_reject_link', wp_nonce_url( bp_get_group_permalink( $groups_template->group ) . 'admin/membership-requests/reject/' . $requests_template->request->id, 'groups_reject_membership_request' ) );
    25292529        }
    25302530
    25312531function bp_group_request_accept_link() {
     
    25342534        function bp_get_group_request_accept_link() {
    25352535                global $requests_template, $groups_template;
    25362536
    2537                 return apply_filters( 'bp_get_group_request_accept_link', wp_nonce_url( bp_get_group_permalink( $groups_template->group ) . '/admin/membership-requests/accept/' . $requests_template->request->id, 'groups_accept_membership_request' ) );
     2537                return apply_filters( 'bp_get_group_request_accept_link', wp_nonce_url( bp_get_group_permalink( $groups_template->group ) . 'admin/membership-requests/accept/' . $requests_template->request->id, 'groups_accept_membership_request' ) );
    25382538        }
    25392539
    25402540function bp_group_request_user_link() {