Skip to:
Content

BuddyPress.org

Opened 6 years ago

Closed 6 years ago

#7693 closed defect (bug) (no action required)

Update 11819 broke cover image uploading

Reported by: bogmuscalu's profile bogmuscalu Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9.3
Component: Core Keywords:
Cc:

Description

It adds a check for

0 !== validate_file( $cover_dir )

$cover_dir is the file link to the image after BuddyPress copies it to its folder, so in my case it's "C:\Server\XAMPP\htdocs\170913_udemy_wp/wp-content/uploads/buddypress/members/1/cover-image".
validate_file() checks the string for a colon as its second character and if it's a colon it returns 2.

So whenever I load a cover image I get the generic error message "There was a problem uploading the cover image.", and each time the image is saved inside buddypress' folder.

Change History (1)

#1 @DJPaul
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi

Thanks for reporting this issue. We’re aware: please see #7674

Note: See TracTickets for help on using tickets.