[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:55:13 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: has-patch | Focuses: docs
----------------------------+---------------------------
Comment (by DrewAPicture):
In [changeset:"35050"]:
{{{
#!CommitTicketReference repository="" revision="35050"
Docs: Adjust documentation for the `$size` parameter in
`wp_get_attachment_link()` to clarify the required order of width and
height values when passing an array.
Also adds the `array` type to the parameter documentation (already
supported).
Props jaspermdegroot.
See #34257.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34257#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list