[buddypress-trac] [BuddyPress Trac] #7693: Update 11819 broke cover image uploading

buddypress-trac noreply at wordpress.org
Tue Feb 13 12:58:49 UTC 2018


#7693: Update 11819 broke cover image uploading
--------------------------+-----------------------------
 Reporter:  bogmuscalu    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  2.9.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7693>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list