Changeset 34828 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 10/05/2015 03:05:26 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r34778 r34828 1117 1117 return new WP_Error( 'blog_taken', __( 'Sorry, that site already exists!' ) ); 1118 1118 1119 if ( !defined('WP_INSTALLING') ) 1120 define( 'WP_INSTALLING', true ); 1119 if ( ! wp_installing() ) { 1120 wp_installing( true ); 1121 } 1121 1122 1122 1123 if ( ! $blog_id = insert_blog($domain, $path, $site_id) ) … … 2173 2174 return; 2174 2175 2175 if ( ! wp_next_scheduled('update_network_counts') && !defined('WP_INSTALLING') )2176 if ( ! wp_next_scheduled('update_network_counts') && ! wp_installing() ) 2176 2177 wp_schedule_event(time(), 'twicedaily', 'update_network_counts'); 2177 2178 }
Note: See TracChangeset
for help on using the changeset viewer.