[wp-trac] [WordPress Trac] #34736: wp_calculate_image_srcset filter: provide the individual srcset image size

WordPress Trac noreply at wordpress.org
Thu Nov 19 03:23:50 UTC 2015


#34736: wp_calculate_image_srcset filter: provide the individual srcset image size
--------------------------+------------------------------
 Reporter:  kraftbj       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by joemcgill):

 I don't have any immediate concerns with this enhancement, and if it's
 helpful for other developers to explicitly have this information, we
 should probably make it available. I would have reservations about
 changing the 'value' property of the array, since values could also be
 used to describe density values (e.g. 1x, 2x), but that's not what's being
 proposed here.

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


More information about the wp-trac mailing list