Make WordPress Core


Ignore:
Timestamp:
09/14/2015 10:32:52 PM (11 years ago)
Author:
nbachiyski
Message:

List tables: escape user e-mails

Better safe than sorry.

File:
1 edited

Legend:

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

    r33801 r34133  
    241241         */
    242242        public function column_email( $user ) {
    243                 echo "<a href='mailto:$user->user_email'>$user->user_email</a>";
     243                echo "<a href='" . esc_url( "mailto:$user->user_email" ) . "'>$user->user_email</a>";
    244244        }
    245245
Note: See TracChangeset for help on using the changeset viewer.