mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user