[wpmu-trac] [WordPress MU Trac] #352: wordpress mu install_blog
should set upload_path
WordPress MU Trac
wpmu-trac at lists.automattic.com
Sat Jun 9 20:56:35 GMT 2007
#352: wordpress mu install_blog should set upload_path
------------------------+---------------------------------------------------
Reporter: jdub | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
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.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/352>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list