Changeset 11109 for trunk/wp-admin/includes/user.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/user.php
r11096 r11109 367 367 function get_user_to_edit( $user_id ) { 368 368 $user = new WP_User( $user_id ); 369 $user->user_login = attr ibute_escape($user->user_login);370 $user->user_email = attr ibute_escape($user->user_email);369 $user->user_login = attr($user->user_login); 370 $user->user_email = attr($user->user_email); 371 371 $user->user_url = clean_url($user->user_url); 372 $user->first_name = attr ibute_escape($user->first_name);373 $user->last_name = attr ibute_escape($user->last_name);374 $user->display_name = attr ibute_escape($user->display_name);375 $user->nickname = attr ibute_escape($user->nickname);376 $user->aim = isset( $user->aim ) && !empty( $user->aim ) ? attr ibute_escape($user->aim) : '';377 $user->yim = isset( $user->yim ) && !empty( $user->yim ) ? attr ibute_escape($user->yim) : '';378 $user->jabber = isset( $user->jabber ) && !empty( $user->jabber ) ? attr ibute_escape($user->jabber) : '';372 $user->first_name = attr($user->first_name); 373 $user->last_name = attr($user->last_name); 374 $user->display_name = attr($user->display_name); 375 $user->nickname = attr($user->nickname); 376 $user->aim = isset( $user->aim ) && !empty( $user->aim ) ? attr($user->aim) : ''; 377 $user->yim = isset( $user->yim ) && !empty( $user->yim ) ? attr($user->yim) : ''; 378 $user->jabber = isset( $user->jabber ) && !empty( $user->jabber ) ? attr($user->jabber) : ''; 379 379 $user->description = isset( $user->description ) && !empty( $user->description ) ? wp_specialchars($user->description) : ''; 380 380
Note: See TracChangeset
for help on using the changeset viewer.