Changeset 3141
- Timestamp:
- 05/14/2016 12:41:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r2916 r3141 108 108 } 109 109 110 var matchInAttr = new RegExp( '=".*' + match + '.*"' ); 111 if ( matchInAttr.test( $comment ) ) { 112 return match; 113 } 114 110 115 var meClass = ( username === wpTrac.currentUser ) ? ' me' : ''; 111 116 return pre + '<a class="mention' + meClass + '" href="https://profiles.wordpress.org/' + username + '">@' + username + '</a>';
Note: See TracChangeset
for help on using the changeset viewer.