[wp-trac] [WordPress Trac] #34379: Responsive Images: Streamline wp_get_attachment_image_sizes()

WordPress Trac noreply at wordpress.org
Wed Oct 21 18:44:31 UTC 2015


#34379: Responsive Images: Streamline wp_get_attachment_image_sizes()
------------------------------+--------------------------
 Reporter:  joemcgill         |       Owner:  joemcgill
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+--------------------------

Comment (by joemcgill):

 [attachment:34379.2.patch] Cleans up some inline docs and makes sure a
 `srcset` attribute is not set without a corresponding `sizes` attribute in
 `wp_get_attachment_image()`.

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


More information about the wp-trac mailing list