[buddypress-trac] [BuddyPress Trac] #8643: Support .webp images for profile photos or cover images

buddypress-trac noreply at wordpress.org
Wed Aug 3 15:37:22 UTC 2022


#8643: Support .webp images for profile photos or cover images
-------------------------+-----------------------
 Reporter:  imath        |       Owner:  imath
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  11.0.0
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------

Comment (by dcavins):

 This works well. I tried it with WP 5.7 and the current 6-alpha, and the
 behavior was as expected in both cases. I was sort of surprised when WP
 was able to edit a WebP. :)

 I do sort of wish that instead of listing out the allowed types in
 `bp_attachments_get_allowed_types()`, we could fetch them from
 `BP_Attachment->get_supported_image_types()` so that they'd only be
 managed in one location.

 Thanks for this update!

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8643#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list