Ticket #5942: bp-friends-classes-5942.diff
| File bp-friends-classes-5942.diff, 1.1 KB (added by , 11 years ago) |
|---|
-
src/bp-friends/bp-friends-classes.php
145 145 $this->is_limited = apply_filters( 'friends_friendship_is_limited_before_save', $this->is_limited, $this->id ); 146 146 $this->date_created = apply_filters( 'friends_friendship_date_created_before_save', $this->date_created, $this->id ); 147 147 148 /** 149 * Fires before processing and saving the current friendship request. 150 * 151 * @since BuddyPress (1.0.0) 152 * 153 * @param Object $value Current friendship request object. 154 */ 148 155 do_action_ref_array( 'friends_friendship_before_save', array( &$this ) ); 149 156 150 157 // Update … … 157 164 $this->id = $wpdb->insert_id; 158 165 } 159 166 167 /** 168 * Fires after processing and saving the current friendship request. 169 * 170 * @since BuddyPress (1.0.0) 171 * 172 * @param Object $value Current friendship request object. 173 */ 160 174 do_action( 'friends_friendship_after_save', array( &$this ) ); 161 175 162 176 return $result;