Changeset 3176
- Timestamp:
- 11/21/2005 08:23:08 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/admin-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r3145 r3176 351 351 if (isset ($_POST['first_name'])) 352 352 $user->first_name = wp_specialchars(trim($_POST['first_name'])); 353 if (isset ($_POST['middle_name']))354 $user->middle_name = wp_specialchars(trim($_POST['middle_name']));355 353 if (isset ($_POST['last_name'])) 356 354 $user->last_name = wp_specialchars(trim($_POST['last_name'])); … … 367 365 if (isset ($_POST['yim'])) 368 366 $user->yim = wp_specialchars(trim($_POST['yim'])); 369 if (isset ($_POST['flickr_username']))370 $user->flickr_username = wp_specialchars(trim($_POST['flickr_username']));371 367 372 368 $errors = array (); … … 398 394 $user->user_pass = $pass1; 399 395 400 if (!$update && username_exists($user _login))396 if (!$update && username_exists($user->user_login)) 401 397 $errors['user_login'] = __('<strong>ERROR</strong>: This username is already registered, please choose another one.'); 402 398
Note: See TracChangeset
for help on using the changeset viewer.