Ticket #2057: 2057-0.diff
File 2057-0.diff, 547 bytes (added by , 14 years ago) |
---|
-
bp-activity/bp-activity-filters.php
105 105 function bp_activity_at_name_filter( $content ) { 106 106 include_once( ABSPATH . WPINC . '/registration.php' ); 107 107 108 $pattern = '/[@]+([A-Za-z0-9-_\. ]+)/';108 $pattern = '/[@]+([A-Za-z0-9-_\.@]+)/'; 109 109 preg_match_all( $pattern, $content, $usernames ); 110 110 111 111 // Make sure there's only one instance of each username