[wp-trac] [WordPress Trac] #34853: A helper method should be created to centralize which extensions are used for images.

WordPress Trac noreply at wordpress.org
Sun Dec 6 08:44:33 UTC 2015


#34853: A helper method should be created to centralize which extensions are used
for images.
--------------------------+-----------------------------
 Reporter:  dan.rossiter  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In keeping with the helper methods introduced in `3.6` for audio/media
 extensions retrieval, the retrieval of image extensions should similarly
 be wrapped in a filterable method. Currently all places where this
 information is needed appear to simply define their own array and use that
 -- very un-DRY.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34853>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list