Ticket #4161: 4161.branch.01.diff
File 4161.branch.01.diff, 2.0 KB (added by , 12 years ago) |
---|
-
bp-groups/bp-groups-template.php
2358 2358 function bp_get_group_avatar_delete_link() { 2359 2359 global $bp; 2360 2360 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' ) ); 2362 2362 } 2363 2363 2364 2364 function bp_group_avatar_edit_form() { … … 2525 2525 function bp_get_group_request_reject_link() { 2526 2526 global $requests_template, $groups_template; 2527 2527 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' ) ); 2529 2529 } 2530 2530 2531 2531 function bp_group_request_accept_link() { … … 2534 2534 function bp_get_group_request_accept_link() { 2535 2535 global $requests_template, $groups_template; 2536 2536 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' ) ); 2538 2538 } 2539 2539 2540 2540 function bp_group_request_user_link() {