Make WordPress Core


Ignore:
Timestamp:
09/14/2015 10:41:12 PM (9 years ago)
Author:
nbachiyski
Message:

List tables: escape user e-mails

Merges [34133] for 4.1 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1/src/wp-admin/includes/class-wp-ms-users-list-table.php

    r30679 r34139  
    226226
    227227                    case 'email':
    228                         echo "<td $attributes><a href='mailto:$user->user_email'>$user->user_email</a></td>";
     228                        echo "<td $attributes><a href='" . esc_url( "mailto:$user->user_email" ) . "'>$user->user_email</a></td>";
    229229                    break;
    230230
Note: See TracChangeset for help on using the changeset viewer.