[wp-trac] [WordPress Trac] #34257: Wrong order of width and height in image functions $size param descriptions

WordPress Trac noreply at wordpress.org
Mon Oct 12 15:22:21 UTC 2015


#34257: Wrong order of width and height in image functions $size param descriptions
----------------------------+---------------------------
 Reporter:  jaspermdegroot  |       Owner:  DrewAPicture
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  4.4
Component:  Media           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  docs
----------------------------+---------------------------

Comment (by jaspermdegroot):

 @DrewAPicture

 Thanks for fixing this!

 Some of the responsive image functions that have been added for 4.4.0 also
 have a {{{$size}}} parameter that accepts an array of width and height
 values. This info is missing in the DocBlock. I am working on that with
 @joemcgill. See
 https://github.com/jaspermdegroot/develop.wordpress/commit/7c86df844e72b73f7cbf2057c1c8a38cef6ca1a3

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


More information about the wp-trac mailing list