Changeset 43571 for trunk/src/wp-admin/includes/schema.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/schema.php
r43531 r43571 1028 1028 if ( 1 == $network_id ) { 1029 1029 $wpdb->insert( 1030 $wpdb->site, array( 1030 $wpdb->site, 1031 array( 1031 1032 'domain' => $domain, 1032 1033 'path' => $path, … … 1036 1037 } else { 1037 1038 $wpdb->insert( 1038 $wpdb->site, array( 1039 $wpdb->site, 1040 array( 1039 1041 'domain' => $domain, 1040 1042 'path' => $path, … … 1083 1085 ); 1084 1086 1085 $misc_exts = array(1087 $misc_exts = array( 1086 1088 // Images. 1087 1089 'jpg', … … 1180 1182 $current_site->site_name = ucfirst( $domain ); 1181 1183 $wpdb->insert( 1182 $wpdb->blogs, array( 1184 $wpdb->blogs, 1185 array( 1183 1186 'site_id' => $network_id, 1184 1187 'blog_id' => 1, … … 1208 1211 $hostname = substr( md5( time() ), 0, 6 ) . '.' . $domain; // Very random hostname! 1209 1212 $page = wp_remote_get( 1210 'http://' . $hostname, array( 1213 'http://' . $hostname, 1214 array( 1211 1215 'timeout' => 5, 1212 1216 'httpversion' => '1.1',
Note: See TracChangeset
for help on using the changeset viewer.