[wp-trac] [WordPress Trac] #36982: Add image attributes and additional context to the wp_calculate_image_srcset and wp_calculate_image_sizes filters

WordPress Trac noreply at wordpress.org
Fri Oct 29 21:34:40 UTC 2021


#36982: Add image attributes and additional context to the
wp_calculate_image_srcset and wp_calculate_image_sizes filters
-------------------------------------------------+-------------------------
 Reporter:  kylereicks                           |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.9
Component:  Media                                |     Version:  4.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion has-unit-      |     Focuses:  template
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 [attachment:"36982.6.diff"] is a refresh against trunk and adds
 `loading="lazy"` to the expected image test string. Tests still not
 passing.

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


More information about the wp-trac mailing list