[buddypress-trac] [BuddyPress] #2317: Upload Path for Avatars is wrong for Multisite

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Apr 28 09:03:02 UTC 2010


#2317: Upload Path for Avatars is wrong for Multisite
---------------------+------------------------------------------------------
 Reporter:  ipstenu  |       Owner:                          
     Type:  defect   |      Status:  new                     
 Priority:  major    |   Milestone:  1.2.4                   
Component:  Core     |    Keywords:  has-patch, needs-testing
---------------------+------------------------------------------------------
Changes (by johnjamesjacoby):

  * keywords:  has-patch => has-patch, needs-testing


Comment:

 Added a patch that seems to fix it on WPMU2.9.2 and WP3.0 trunk.

 It's a little more elaborate than I'd like to put into a point release,
 but it's passed my tests.

 The problem is the difference between WP and WPMU, and how they allow you
 to modify the uploads directory. MU doesn't adhere to using its own
 UPLOADBLOGSDIR in the proper places (appears fixed in 3.0) so in some
 cases the BP_AVATAR_UPLOAD_PATH may not contain WP_CONTENT_DIR while still
 containing "blogs.dir".

 Please test this rigorously if you can. Also experiment with changing the
 upload directory in single site setups under 'admin > media >'

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2317#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list