[wp-trac] [WordPress Trac] #41801: add wp_get_image_extensions() and wp_image_extensions filter

WordPress Trac noreply at wordpress.org
Thu Sep 6 21:41:57 UTC 2018


#41801: add wp_get_image_extensions() and wp_image_extensions filter
-------------------------+-----------------------
 Reporter:  pbiron       |       Owner:  pbiron
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.0
Component:  Media        |     Version:  4.9
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------

Comment (by pbiron):

 Replying to [comment:8 pbiron]:
 > The following question probably deserves a ticket of its own but I'll
 ask it here: why does `populate_network()` add a number of audio and video
 extensions to `upload_filetypes` that aren't included in the default
 `wp_get_[audio|video]_extensions()` return values?

 per the discussion at
 https://wordpress.slack.com/archives/C02SX62S6/p1536269781000100, I'll
 refresh the patch when I get the time.

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


More information about the wp-trac mailing list