Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 8 of Ticket #7448


Ignore:
Timestamp:
06/14/2017 09:00:00 PM (7 years ago)
Author:
johnjamesjacoby
Comment:

(Editing the formatting of the original report a bit.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7448

    • Property Cc support@… added
    • Property Summary changed from buddypress/bp-friends/bp-friends-template.php to Trailing slash needed for URLs for compatibility with LiteSpeed
    • Property Milestone changed from 2.8.1 to 2.9
    • Property Keywords has-patch added
  • Ticket #7448 – Description

    initial v8  
    33Please find the file attached with modified lines:
    44
    5 * ORIGINAL SCRIPT
    6                  */
    7                  //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 );
    8                
    9                 /**
    10                  * UPDATED SCRIPT (23-FEB-2017)
    11                  * To avoid the Accept request URL issue
    12                  */
    13                  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 );
    14         }
     5{{{#!php
     6/**
     7 * ORIGINAL SCRIPT
     8 */
     9 //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 );
     10}}}
     11
     12{{{#!php
     13/**
     14 * UPDATED SCRIPT (23-FEB-2017)
     15 * To avoid the Accept request URL issue
     16 */
     17return 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 );
     18}}}
    1519
    1620Please modify the file before release next update