WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/16/2015 08:00:15 PM (6 years ago)
Author:
wonderboymusic
Message:

if is a statment, not a function.

See #32444.

File:
1 edited

Legend:

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

    r32654 r32800  
    5959function allow_subdomain_install() {
    6060    $domain = preg_replace( '|https?://([^/]+)|', '$1', get_option( 'home' ) );
    61     if( parse_url( get_option( 'home' ), PHP_URL_PATH ) || 'localhost' == $domain || preg_match( '|^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$|', $domain ) )
     61    if ( parse_url( get_option( 'home' ), PHP_URL_PATH ) || 'localhost' == $domain || preg_match( '|^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$|', $domain ) )
    6262        return false;
    6363
Note: See TracChangeset for help on using the changeset viewer.