[wp-trac] [WordPress Trac] #34612: Responsive Images: Make new function/filter signatures more consistent

WordPress Trac noreply at wordpress.org
Mon Nov 16 18:51:58 UTC 2015


#34612: Responsive Images: Make new function/filter signatures more consistent
--------------------------+-----------------------
 Reporter:  joemcgill     |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by joemcgill):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I noticed that we had marked several params in `wp_calcuate_image_sizes()`
 as optional, but had not defined default values. [attachment:34612.4.diff]
 corrects this issue and includes a few other fixes to the docblocs for
 this function and filter.

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


More information about the wp-trac mailing list