Ticket #11816: 11816.2.diff
File 11816.2.diff, 1.6 KB (added by , 15 years ago) |
---|
-
wp-admin/includes/schema.php
657 657 /* translators: Default category slug */ 658 658 $cat_slug = sanitize_title( _x( 'Uncategorized', 'Default category slug' ) ); 659 659 660 $wpdb->insert( $wpdb->sitecategories, array( ' site_id' => $network_id, 'cat_ID' => 1, 'cat_name' => __('Uncategorized'), 'category_nicename' => $cat_slug, 'last_updated' => current_time( 'mysql', true ) ) );660 $wpdb->insert( $wpdb->sitecategories, array( 'cat_ID' => 1, 'cat_name' => __('Uncategorized'), 'category_nicename' => $cat_slug, 'last_updated' => current_time( 'mysql', true ) ) ); 661 661 662 662 /* translators: Default link category slug */ 663 663 $cat_slug = sanitize_title( _x( 'Blogroll', 'Default link category slug' ) ); 664 664 665 $wpdb->insert( $wpdb->sitecategories, array( ' site_id' => $network_id, 'cat_ID' => 2, 'cat_name' => __('Blogroll'), 'category_nicename' => $cat_slug, 'last_updated' => current_time( 'mysql', true ) ) );665 $wpdb->insert( $wpdb->sitecategories, array( 'cat_ID' => 2, 'cat_name' => __('Blogroll'), 'category_nicename' => $cat_slug, 'last_updated' => current_time( 'mysql', true ) ) ); 666 666 667 667 $site_admins = array( $site_user->user_login ); 668 668 $users = get_users_of_blog(); … … 722 722 $wpdb->query( "INSERT INTO $wpdb->sitemeta ( site_id, meta_key, meta_value ) VALUES " . $insert ); 723 723 724 724 $current_site->domain = $domain; 725 $current_site->path = $ base;725 $current_site->path = $path; 726 726 $current_site->site_name = ucfirst( $domain ); 727 727 728 728 if ( !is_multisite() ) {