[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 16:10:46 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:"35056"]:
 {{{
 #!CommitTicketReference repository="" revision="35056"
 Docs: Fix syntax and properly mark optional parameters as such in the
 DocBlock for `get_image_send_to_editor()`.

 Also fixes the return description, and adds the `$size` default value,
 missed in [35055].

 See #34257. See #32246.
 }}}

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


More information about the wp-trac mailing list