[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:11:19 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
---------------------+------------------------------------------------------

Comment(by johnjamesjacoby):

 The reason why it isn't as simple as just changing from 'upload_path' to
 'upload_url_path' is because there is no fall-back handling built into
 BuddyPress in the event that either of those fields are not populated.

 The 'wp_upload_dir' function handles this quite nicely, so even if the
 rest of this patch is rubbish, it would be nice to try to use
 'wp_upload_dir' as our starting off point.

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


More information about the buddypress-trac mailing list