Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#16486 closed defect (bug) (duplicate)

multisite install_blog() should honor UPLOADBLOGSDIR

Reported by: ktdreyer's profile ktdreyer Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.4
Component: Multisite Keywords:
Focuses: Cc:

Description

Currently (3.0.4), wp-includes/ms-functions.php's install_blog() just sets 'upload_path' to a hard-coded relative path.

update_option('upload_path', "wp-content/blogs.dir/" . $blog_id . "/files");

Grep for UPLOADBLOGSDIR and you'll see that it is only used in wp-includes/ms-default-constants.php, where the constant is initially set. wp-includes/ms-functions.php should use it, at least.

Change History (2)

#1 @ktdreyer
14 years ago

  • Version set to 3.0.4

#2 @ocean90
14 years ago

  • Component changed from General to Multisite
  • Keywords multisite removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.