[buddypress-trac] [BuddyPress Trac] #4680: @-mentions getting linked even when already inside a link

buddypress-trac noreply at wordpress.org
Sun Feb 16 15:58:38 UTC 2014

#4680: @-mentions getting linked even when already inside a link
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  2.0
Component:  Core          |     Version:
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"7890"]:
 #!CommitTicketReference repository="" revision="7890"
 Don't auto-link @mentions that appear inside the context of links

 This prevents illegitimate double-linking when text like
 href="mailto:foo at bar.com" or <a href="http://twitter.com/bar">@bar</a>
 to match a BP username like @bar.

 Fixes #4680

 Props ninnypants

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4680#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list