Skip to:
Content

BuddyPress.org

Ticket #4161: 4161.trunk.01.diff

File 4161.trunk.01.diff, 2.3 KB (added by cnorris23, 12 years ago)

trunk

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

     
    457457                if ( empty( $group ) )
    458458                        $group =& $groups_template->group;
    459459
    460                 return apply_filters( 'bp_get_group_admin_permalink', trailingslashit( bp_get_group_permalink( $group ) . '/admin' ) );
     460                return apply_filters( 'bp_get_group_admin_permalink', trailingslashit( bp_get_group_permalink( $group ) . 'admin' ) );
    461461        }
    462462
    463463function bp_group_slug() {
     
    24162416        function bp_get_group_avatar_delete_link() {
    24172417                global $bp;
    24182418
    2419                 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' ) );
     2419                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' ) );
    24202420        }
    24212421
    24222422function bp_group_avatar_edit_form() {
     
    25732573        function bp_get_group_request_reject_link() {
    25742574                global $requests_template, $groups_template;
    25752575
    2576                 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' ) );
     2576                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' ) );
    25772577        }
    25782578
    25792579function bp_group_request_accept_link() {
     
    25822582        function bp_get_group_request_accept_link() {
    25832583                global $requests_template, $groups_template;
    25842584
    2585                 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' ) );
     2585                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' ) );
    25862586        }
    25872587
    25882588function bp_group_request_user_link() {