Changeset 21823 for trunk/wp-admin/includes/schema.php
- Timestamp:
- 09/11/2012 10:22:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r21818 r21823 913 913 'subdomain_install' => intval( $subdomain_install ), 914 914 'global_terms_enabled' => global_terms_enabled() ? '1' : '0', 915 'ms_files_rewriting' => is_multisite() ? get_site_option( 'ms_files_rewriting' ) : '0', 915 916 'initial_db_version' => get_option( 'initial_db_version' ), 916 917 'active_sitewide_plugins' => array(), … … 941 942 update_user_meta( $site_user->ID, 'source_domain', $domain ); 942 943 update_user_meta( $site_user->ID, 'primary_blog', $blog_id ); 943 if ( !$upload_path = get_option( 'upload_path' ) ) {944 $upload_path = substr( WP_CONTENT_DIR, strlen( ABSPATH ) ) . '/uploads';945 update_option( 'upload_path', $upload_path );946 }947 update_option( 'fileupload_url', get_option( 'siteurl' ) . '/' . $upload_path );948 944 } 949 945
Note: See TracChangeset
for help on using the changeset viewer.