Making WordPress.org


Ignore:
Timestamp:
01/17/2019 02:05:19 AM (5 years ago)
Author:
dd32
Message:

Trac: Expose users nicename on Trac comments for use with Autocomplete.

See #2539.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/site-ticket.html

    r6688 r8088  
    4848<!--! Gravatars for the ticket reporter -->
    4949<td py:match="td[@headers='h_reporter']" py:attrs="select('@*')" py:with="wporg_user = wporg_sanitize_user_nicename(ticket.reporter)">
    50   <a href="${profile_link + wporg_user}">
     50  <a href="${profile_link + wporg_user}" data-nicename="${wporg_user}">
    5151    <img class="avatar" src="https://wordpress.org/grav-redirect.php?user=${wporg_user}&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=${wporg_user}&amp;s=96 2x" height="48" width="48" />
    5252  </a>
Note: See TracChangeset for help on using the changeset viewer.