Changeset 1372
- Timestamp:
- 07/11/08 15:05:19 (5 months ago)
- Files:
-
- trunk/wp-admin/wpmu-edit.php (modified) (1 diff)
- trunk/wp-includes/wpmu-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/wpmu-edit.php
r1361 r1372 96 96 97 97 $blog = $_POST['blog']; 98 $domain = strtolower( wp_specialchars( $blog['domain']) );98 $domain = ereg_replace("[^A-Za-z0-9]", "", strtolower( wp_specialchars( $blog['domain'] ) ) ); 99 99 $email = wp_specialchars( $blog['email'] ); 100 100 $title = stripslashes( wp_specialchars( $blog['title'] ) ); trunk/wp-includes/wpmu-functions.php
r1371 r1372 1124 1124 1125 1125 function wpmu_create_user( $user_name, $password, $email) { 1126 $user_name = ereg_replace("[^A-Za-z0-9]", "", $user_name); 1126 1127 if ( username_exists($user_name) ) 1127 1128 return false;
