Ticket #7448: 7448.01.patch
File 7448.01.patch, 1.3 KB (added by , 8 years ago) |
---|
-
src/bp-friends/bp-friends-template.php
563 563 * @param string $value Accept-friendship URL. 564 564 * @param int $friendship_id ID of the friendship. 565 565 */ 566 return apply_filters( 'bp_get_friend_accept_request_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/accept/' . $friendship_id , 'friends_accept_friendship' ), $friendship_id );566 return apply_filters( 'bp_get_friend_accept_request_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/accept/' . $friendship_id . '/', 'friends_accept_friendship' ), $friendship_id ); 567 567 } 568 568 569 569 /** … … 598 598 * @param string $value Reject-friendship URL. 599 599 * @param int $friendship_id ID of the friendship. 600 600 */ 601 return apply_filters( 'bp_get_friend_reject_request_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/reject/' . $friendship_id , 'friends_reject_friendship' ), $friendship_id );601 return apply_filters( 'bp_get_friend_reject_request_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/reject/' . $friendship_id . '/', 'friends_reject_friendship' ), $friendship_id ); 602 602 } 603 603 604 604 /**