Changeset 20117
- Timestamp:
- 03/05/2012 05:39:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r20080 r20117 820 820 */ 821 821 function populate_network( $network_id = 1, $domain = '', $email = '', $site_name = '', $path = '/', $subdomain_install = false ) { 822 global $wpdb, $current_site, $wp_db_version ;822 global $wpdb, $current_site, $wp_db_version, $wp_rewrite; 823 823 824 824 $errors = new WP_Error(); … … 937 937 938 938 if ( $subdomain_install ) 939 update_option( 'permalink_structure', '/%year%/%monthnum%/%day%/%postname%/');939 $wp_rewrite->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' ); 940 940 else 941 update_option( 'permalink_structure', '/blog/%year%/%monthnum%/%day%/%postname%/');941 $wp_rewrite->set_permalink_structure( '/blog/%year%/%monthnum%/%day%/%postname%/' ); 942 942 943 943 flush_rewrite_rules();
Note: See TracChangeset
for help on using the changeset viewer.