[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:36:32 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       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by pbiron):

 * keywords:   => has-patch


Comment:

 In addition to adding `wp_get_image_extensions()` and
 `wp_image_extensions` filter, the patch also modifies
 [[https://developer.wordpress.org/reference/functions/wp_attachment_is/|wp_attachment_is()]]
 to use `wp_get_image_extensions()`.

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


More information about the wp-trac mailing list