[wp-trac] [WordPress Trac] #14110: Expose height and width attributes to 'wp_get_attachment_image_attributes' filter

WordPress Trac noreply at wordpress.org
Thu Jun 28 15:28:15 UTC 2018


#14110: Expose height and width attributes to 'wp_get_attachment_image_attributes'
filter
-------------------------------+----------------------
 Reporter:  divinenephron      |       Owner:  (none)
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Media              |     Version:  3.0
 Severity:  minor              |  Resolution:  wontfix
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+----------------------

Comment (by divinenephron):

 I don't recall the details of exactly why I needed this, but comment:23
 (maintain image aspect ratio) sounds like my original reason for opening
 the ticket.

 Apologies for the strangeness of the original patch – I had never
 committed to an open source project when I wrote it and didn't know about
 these unwritten norms.

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


More information about the wp-trac mailing list