WordPress.org

WordPress MU

Changeset 952


Ignore:
Timestamp:
03/29/07 12:09:14 (7 years ago)
Author:
donncha
Message:

Make sure errors are hidden when adding blogs

File:
1 edited

Legend:

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

    r939 r952  
    11801180    // Must restore table names at the end of function. 
    11811181 
     1182    if ( !defined("WP_INSTALLING") ) 
     1183        define( "WP_INSTALLING", true ); 
     1184 
    11821185    if ( ! $blog_id = insert_blog($domain, $path, $site_id) ) 
    11831186        return new WP_Error('insert_blog', __('Could not create blog.')); 
    1184  
    1185     if ( !defined("WP_INSTALLING") ) 
    1186         define( "WP_INSTALLING", true ); 
    11871187 
    11881188    switch_to_blog($blog_id); 
Note: See TracChangeset for help on using the changeset viewer.