Ticket #352 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

wordpress mu install_blog should set upload_path

Reported by: jdub Assigned to: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

I've added the following to install_blog in wp-includes/wpmu_functions.php at around line 1302 (immediately after setting fileupload_url):

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

If upload_path is not set (the default is incorrect: wp-content/uploads), plugins that expect it break, so it's much harder to create WPMU-compatible plugins that require knowledge of the upload path.

Change History

06/09/07 20:59:00 changed by drmike

Probably related to my issue in #319

06/11/07 19:57:18 changed by donncha

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [999], thanks!