Changeset 7193 for trunk/bp-activity/bp-activity-filters.php
- Timestamp:
- 06/09/2013 02:04:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-filters.php
r6649 r7193 209 209 function bp_activity_at_name_filter( $content, $activity_id = 0 ) { 210 210 211 // Are mentions disabled? 212 if ( ! bp_activity_do_mentions() ) { 213 return $content; 214 } 215 211 216 // Try to find mentions 212 217 $usernames = bp_activity_find_mentions( $content ); … … 238 243 */ 239 244 function bp_activity_at_name_filter_updates( $activity ) { 245 // Are mentions disabled? 246 if ( ! bp_activity_do_mentions() ) { 247 return; 248 } 249 240 250 // If activity was marked as spam, stop the rest of this function. 241 251 if ( ! empty( $activity->is_spam ) ) … … 272 282 */ 273 283 function bp_activity_at_name_send_emails( $activity ) { 284 // Are mentions disabled? 285 if ( ! bp_activity_do_mentions() ) { 286 return; 287 } 288 274 289 // If our temporary variable doesn't exist, stop now. 275 290 if ( empty( buddypress()->activity->mentioned_users ) )
Note: See TracChangeset
for help on using the changeset viewer.