[wp-trac] [WordPress Trac] #41801: add wp_get_image_extensions() and wp_image_extensions filter
WordPress Trac
noreply at wordpress.org
Tue Sep 5 14:33:34 UTC 2017
#41801: add wp_get_image_extensions() and wp_image_extensions filter
-------------------------+-----------------------------
Reporter: pbiron | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Core already has
[[https://developer.wordpress.org/reference/functions/wp_get_audio_extensions/|wp_get_audio_extensions()]]
and
[[https://developer.wordpress.org/reference/functions/wp_get_video_extensions/|wp_get_video_extensions()]]
(which are used in
[[https://developer.wordpress.org/reference/functions/wp_attachment_is/|wp_attachment_is()]]).
For consistency and convenience, core should also have
`wp_get_image_extensions()` and `wp_image_extensions` filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41801>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list