[wp-trac] [WordPress Trac] #39821: Please make image extensions array filterable in wp_attachment_is()

WordPress Trac noreply at wordpress.org
Thu Dec 20 19:56:54 UTC 2018


#39821: Please make image extensions array filterable in wp_attachment_is()
-------------------------+------------------------------
 Reporter:  Hinjiriyo    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  4.7.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by aaroncampbell):

 * keywords:   => has-patch


Comment:

 [attachment:"39821.diff"] Adds a filter inline, named to match the audio
 and video equivalents. I'm not sure there's a need to pull this out into a
 function like the others, aside from consistency.

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


More information about the wp-trac mailing list