Skip to content

Commit

Permalink
Remove usage of CSS "user" class
Browse files Browse the repository at this point in the history
Issue #24161
  • Loading branch information
atrol committed Mar 29, 2018
1 parent 8a7a6e6 commit 68000d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/mention_api.php
Expand Up @@ -156,7 +156,7 @@ function mention_format_text( $p_text, $p_html = true ) {
if( $p_html ) {
$t_mention_formatted = string_display_line( $t_mention_formatted );

$t_mention_formatted = '<a class="user" href="' . string_sanitize_url( 'view_user_page.php?id=' . $t_user_id, true ) . '">' . $t_mention_formatted . '</a>';
$t_mention_formatted = '<a href="' . string_sanitize_url( 'view_user_page.php?id=' . $t_user_id, true ) . '">' . $t_mention_formatted . '</a>';

if( !user_is_enabled( $t_user_id ) ) {
$t_mention_formatted = '<s>' . $t_mention_formatted . '</s>';
Expand Down
4 changes: 2 additions & 2 deletions core/print_api.php
Expand Up @@ -223,7 +223,7 @@ function print_user_with_subject( $p_user_id, $p_bug_id ) {
print_email_link_with_subject( $t_email, $t_username, $t_name, $p_bug_id );
} else {
$t_name = string_attribute( $t_name );
echo '<span class="user" style="text-decoration: line-through">';
echo '<span style="text-decoration: line-through">';
echo '<a title="' . $t_name . '">' . $t_username . '</a>';
echo '</span>';
}
Expand Down Expand Up @@ -1666,7 +1666,7 @@ function print_email_link_with_subject( $p_email, $p_text, $p_tooltip, $p_bug_id
$t_mailto = string_attribute( 'mailto:' . $t_email . '?subject=' . $t_subject );
$t_text = string_display( $p_text );

echo '<a class="user" href="' . $t_mailto . '"' . $t_tooltip . '>' . $t_text . '</a>';
echo '<a href="' . $t_mailto . '"' . $t_tooltip . '>' . $t_text . '</a>';
}

/**
Expand Down

0 comments on commit 68000d2

Please sign in to comment.