Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#4243 closed defect (bug) (fixed)

BP_AVATAR_UPLOAD_PATH is not set in BP 1.5+

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.6 Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

As of BP 1.5+, BP_AVATAR_UPLOAD_PATH is not set. I have a site which I am upgrading to BP 1.5 that uses the constant directly for some things, and as it is not set, this broke backwards compatibility. See bp_core_avatar_upload_path().

Change History (2)

#1 @DJPaul
13 years ago

  • Yes, I could/will update the custom functionality on my site, but this still a regression.

#2 @djpaul
13 years ago

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

(In [6062]) Make sure that BP_AVATAR_UPLOAD_PATH and BP_AVATAR_URL are set. Fixes #4243.

This improves backwards compatibility with BP 1.2 era code which used these
constants directly, instead of the $bp->avatar->upload_path and
$bp->avatar->url variables (which didn't exist then).

Note: See TracTickets for help on using tickets.