Skip to:
Content

BuddyPress.org

Ticket #2057: 2057-0.diff

File 2057-0.diff, 547 bytes (added by boonebgorges, 14 years ago)
  • bp-activity/bp-activity-filters.php

     
    105105function bp_activity_at_name_filter( $content ) {
    106106        include_once( ABSPATH . WPINC . '/registration.php' );
    107107
    108         $pattern = '/[@]+([A-Za-z0-9-_\.]+)/';
     108        $pattern = '/[@]+([A-Za-z0-9-_\.@]+)/';
    109109        preg_match_all( $pattern, $content, $usernames );
    110110
    111111        // Make sure there's only one instance of each username