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

WordPress Trac noreply at wordpress.org
Mon Nov 9 19:22:12 UTC 2015


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

Comment (by joemcgill):

 Looks like I missed updating the params for `wp_calculate_image_srcset`
 filter in [attachment:34612.diff]. I've uploaded
 [attachment:34612.filter.diff], which corrects the param order and adds
 `$image_src` to the filter. Inline docs are updated as well.

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


More information about the wp-trac mailing list