Changeset 38655 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 09/26/2016 06:38:32 PM (9 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
r38636 r38655 1093 1093 */ 1094 1094 function wpmu_create_blog( $domain, $path, $title, $user_id, $meta = array(), $site_id = 1 ) { 1095 $defaults = array( 'public' => 0 ); 1095 $defaults = array( 1096 'public' => 0, 1097 'WPLANG' => get_site_option( 'WPLANG' ), 1098 ); 1096 1099 $meta = wp_parse_args( $meta, $defaults ); 1097 1100 … … 1131 1134 } 1132 1135 1133 add_option( 'WPLANG', get_site_option( 'WPLANG' ) );1134 1136 update_option( 'blog_public', (int) $meta['public'] ); 1135 1137
Note: See TracChangeset
for help on using the changeset viewer.