Changeset 18473
- Timestamp:
- 07/26/2011 09:35:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/site-new.php
r17144 r18473 35 35 $blog = $_POST['blog']; 36 36 $domain = ''; 37 if ( ! preg_match( '/(--)/', $blog['domain'] ) &&preg_match( '|^([a-zA-Z0-9-])+$|', $blog['domain'] ) )37 if ( preg_match( '|^([a-zA-Z0-9-])+$|', $blog['domain'] ) ) 38 38 $domain = strtolower( $blog['domain'] ); 39 39
Note: See TracChangeset
for help on using the changeset viewer.