WordPress.org

Make WordPress Core

Ticket #2272: 2272.diff

File 2272.diff, 642 bytes (added by davidhouse, 8 years ago)
  • wp-admin/admin-functions.php

     
    370370        if (isset ($_POST['display_name'])) 
    371371                $user->display_name = wp_specialchars(trim($_POST['display_name'])); 
    372372        if (isset ($_POST['description'])) 
    373                 $user->description = wp_specialchars(trim($_POST['description'])); 
     373                $user->description = trim($_POST['description']); //don't convert < to &lt; etc 
    374374        if (isset ($_POST['jabber'])) 
    375375                $user->jabber = wp_specialchars(trim($_POST['jabber'])); 
    376376        if (isset ($_POST['aim']))