WordPress.org

Make WordPress Core

Changeset 21853


Ignore:
Timestamp:
09/15/2012 07:29:59 PM (6 years ago)
Author:
nacin
Message:

Pass current network ID to domain_exists() in wpmu_validate_blog_signup(). props larysa, fixes #17303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r21823 r21853  
    590590        $path = $base.$blogname.'/';
    591591    }
    592     if ( domain_exists($mydomain, $path) )
     592    if ( domain_exists($mydomain, $path, $current_site->id) )
    593593        $errors->add('blogname', __('Sorry, that site already exists!'));
    594594
Note: See TracChangeset for help on using the changeset viewer.