Make WordPress Core

Changeset 21172


Ignore:
Timestamp:
06/28/2012 08:38:16 PM (12 years ago)
Author:
nacin
Message:

install_blog() should not be polluting the siteurl and home options with the trailing slash that comes from get_blogaddress_by_id().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r20697 r21172  
    11511151    $wp_roles->_init();
    11521152
     1153    $url = untrailingslashit( $url );
    11531154    // fix url.
    11541155    update_option('siteurl', $url);
    11551156    update_option('home', $url);
    1156     update_option('fileupload_url', $url . "files" );
     1157    update_option('fileupload_url', $url . "/files" );
    11571158    update_option('upload_path', UPLOADBLOGSDIR . "/$blog_id/files");
    11581159    update_option('blogname', stripslashes( $blog_title ) );
Note: See TracChangeset for help on using the changeset viewer.