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

WordPress Trac noreply at wordpress.org
Fri Aug 17 18:26:40 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:6 pbiron]:
 > It also adds a call to `wp_get_image_extensions()` in
 `populate_network()` to go along with the existing calls to
 `wp_get_audio_extensions()` and `wp_get_video_extensions()` there.

 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?

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


More information about the wp-trac mailing list