Changeset 13878 for trunk/src/bp-activity/bp-activity-filters.php
- Timestamp:
- 06/01/2024 04:26:18 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-activity/bp-activity-filters.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-filters.php
r13636 r13878 306 306 if ( ! empty( $usernames ) ) { 307 307 // Replace @mention text with userlinks. 308 foreach ( (array) $usernames as $user_id => $username ) {308 foreach ( (array) $usernames as $user_id => $username ) { 309 309 $activity->content = preg_replace( '/(@' . $username . '\b)/', "<a class='bp-suggestions-mention' href='" . bp_members_get_user_url( $user_id ) . "' rel='nofollow'>@$username</a>", $activity->content ); 310 310 } … … 344 344 345 345 // Send @mentions and setup BP notifications. 346 foreach ( (array) $usernames as $user_id => $username ) {346 foreach ( (array) $usernames as $user_id => $username ) { 347 347 348 348 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)