Changeset 2449 for trunk/wp-admin/users.php
- Timestamp:
- 03/16/2005 09:09:11 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/users.php
r2437 r2449 25 25 check_admin_referer(); 26 26 27 $user_login = wp_specialchars( $_POST['user_login']);27 $user_login = wp_specialchars(trim($_POST['user_login'])); 28 28 $pass1 = $_POST['pass1']; 29 29 $pass2 = $_POST['pass2']; 30 $user_email = wp_specialchars( $_POST['email']);31 $user_firstname = wp_specialchars( $_POST['firstname']);32 $user_lastname = wp_specialchars( $_POST['lastname']);33 $user_uri = wp_specialchars( $_POST['uri']);30 $user_email = wp_specialchars(trim($_POST['email'])); 31 $user_firstname = wp_specialchars(trim($_POST['firstname'])); 32 $user_lastname = wp_specialchars(trim($_POST['lastname'])); 33 $user_uri = wp_specialchars(trim($_POST['uri'])); 34 34 35 35 /* checking that username has been typed */
Note: See TracChangeset
for help on using the changeset viewer.