WordPress.org

Make WordPress Core

Ticket #15383: 15383.diff

File 15383.diff, 684 bytes (added by scribu, 3 years ago)
  • wp-includes/ms-functions.php

     
    983983        update_option('siteurl', $url); 
    984984        update_option('home', $url); 
    985985        update_option('fileupload_url', $url . "files" ); 
    986         update_option('upload_path', "wp-content/blogs.dir/" . $blog_id . "/files"); 
     986        update_option('upload_path', UPLOADBLOGSDIR . "/$blog_id/files"); 
    987987        update_option('blogname', stripslashes( $blog_title ) ); 
    988988        update_option('admin_email', ''); 
    989989        $wpdb->update( $wpdb->options, array('option_value' => ''), array('option_name' => 'admin_email') );