Opened 7 years ago
Closed 7 years ago
#7693 closed defect (bug) (no action required)
Update 11819 broke cover image uploading
Reported by: | 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)
Note: See
TracTickets for help on using
tickets.
Hi
Thanks for reporting this issue. We’re aware: please see #7674