[wp-trac] [WordPress Trac] #16486: multisite install_blog() should honor UPLOADBLOGSDIR

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 8 01:02:48 UTC 2011


#16486: multisite install_blog() should honor UPLOADBLOGSDIR
--------------------------+-----------------------------
 Reporter:  ktdreyer      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  multisite
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16486>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list