WordPress.org

Make WordPress Core

Changeset 18473


Ignore:
Timestamp:
07/26/2011 09:35:39 PM (10 years ago)
Author:
ryan
Message:

Allow creating sites with IDN domains. Props SergeyBiryukov, wpmuguru. fixes #15554

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-new.php

    r17144 r18473  
    3535    $blog = $_POST['blog'];
    3636    $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'] ) )
    3838        $domain = strtolower( $blog['domain'] );
    3939
Note: See TracChangeset for help on using the changeset viewer.