Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#16486 closed defect (bug) (duplicate)

multisite install_blog() should honor UPLOADBLOGSDIR

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

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
16 years ago

  • Version → 3.0.4

#2 @ocean90
16 years ago

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