Revert [16995] due to the way the data enters the db. props garyc40, see #15454.

git-svn-id: https://develop.svn.wordpress.org/trunk@17142 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-12-25 18:10:59 +00:00
parent ae22a6d462
commit f3419ea181
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1202,7 +1202,7 @@ function sanitize_user_field($field, $value, $user_id, $context) {
}
if ( 'description' == $field )
$value = esc_textarea( $value );
$value = esc_html( $value ); // textarea_escaped?
else
$value = esc_attr($value);
} else if ( 'db' == $context ) {