Skip to:
Content

BuddyPress.org

Changeset 3479 for trunk/bp-friends.php


Ignore:
Timestamp:
11/23/2010 10:59:37 PM (16 years ago)
Author:
djpaul
Message:

Don't pass function arguments by reference, as deprecated in PHP 5.3. Fixes #2759.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends.php

    r3466 r3479  
    396396            'user_id'           => $friendship->initiator_user_id,
    397397            'type'              => 'friendship_created',
    398             'action'            => apply_filters( 'friends_activity_friendship_accepted_action', sprintf( __( '%1$s and %2$s are now friends', 'buddypress' ), $initiator_link, $friend_link ), &$friendship ),
     398            'action'            => apply_filters( 'friends_activity_friendship_accepted_action', sprintf( __( '%1$s and %2$s are now friends', 'buddypress' ), $initiator_link, $friend_link ), $friendship ),
    399399            'item_id'           => $friendship_id,
    400400            'secondary_item_id' => $friendship->friend_user_id
     
    405405            'user_id'           => $friendship->friend_user_id,
    406406            'type'              => 'friendship_created',
    407             'action'            => apply_filters( 'friends_activity_friendship_accepted_action', sprintf( __( '%1$s and %2$s are now friends', 'buddypress' ), $friend_link, $initiator_link ), &$friendship ),
     407            'action'            => apply_filters( 'friends_activity_friendship_accepted_action', sprintf( __( '%1$s and %2$s are now friends', 'buddypress' ), $friend_link, $initiator_link ), $friendship ),
    408408            'item_id'           => $friendship_id,
    409409            'secondary_item_id' => $friendship->initiator_user_id,
Note: See TracChangeset for help on using the changeset viewer.