[wp-trac] [WordPress Trac] #53022: List the supported file types for the active image editor

WordPress Trac noreply at wordpress.org
Mon Jun 14 17:13:08 UTC 2021


#53022: List the supported file types for the active image editor
------------------------------------------+-----------------------
 Reporter:  desrosj                       |       Owner:  desrosj
     Type:  defect (bug)                  |      Status:  reopened
 Priority:  normal                        |   Milestone:  5.8
Component:  Site Health                   |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch commit needs-codex  |     Focuses:
------------------------------------------+-----------------------

Comment (by adamsilverstein):

 > For 53022.4.diff​, I think that debug can be removed from the gd_formats
 array. When debug is not present the value of value is used instead. Since
 it looks like there will never be a difference between the two, debug can
 be skipped here.

 Thanks for clarifying, I will remove that. I wasn't certain how these
 fields were used.

 > Would it be worth allowing the $gd_supported_formats array to be
 filtered? That would allow plugins adding support for additional formats
 to add those formats to the list.

 I don't think so. This is a server level capability check, can plugins
 even add image format support at this level?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53022#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list