Skip to:

Opened 14 years ago

Closed 14 years ago

#2469 closed defect (bug) (duplicate)

Avatar location is incorrect for blogs other than the primary blog

Reported by: rebootnow's profile rebootnow Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 1.5 Priority: normal
Severity: Version:
Component: Core Keywords: avatar, upload path


Changeset (a fix to ) introduced this problem.

It based the avatar path and url on wp_load_dir(), which gets the upload location for the currently active blog. I think BP's intention is to have a single avatar per user across the site, and therefore the upload location for the primary blog should be used.

From the notes in 2317 it seems that "get_blog_option()" is not a reliable source for the uploads location, but IMO would be a better solution than one that only works for a single primary blog.

Change History (2)

#1 @rebootnow
14 years ago

Note that there is a potential fix for this in the 1.2 branch. See the new...

  • bp_core_avatar_upload_path()
  • bp_core_avatar_url()

...that correct the result from wp_upload_dir() in the multiblog case.

#2 @johnjamesjacoby
14 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

This is fixed in the 1.2 branch and will be merged with trunk soon.

Thanks for the heads up!

Note: See TracTickets for help on using tickets.