[buddypress-trac] [BuddyPress] #2145: [patch] "@ mention" bugs

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Nov 2 21:11:04 UTC 2010


#2145: [patch] "@ mention" bugs
----------------------+-----------------------------------------------------
 Reporter:  snark     |       Owner:     
     Type:  defect    |      Status:  new
 Priority:  major     |   Milestone:  1.3
Component:  Activity  |    Keywords:     
----------------------+-----------------------------------------------------

Comment(by DJPaul):

 [3340] switches the replacement to a preg_replace so we can use a boundary
 check to find the end of the matched username. This prevents "@admin1
 @admin" being linked twice (on both "admin" strings) -- it should now only
 match on the second "@admin"

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2145#comment:10>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list