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

WordPress Trac noreply at wordpress.org
Mon Oct 26 18:40:03 UTC 2015


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

Comment (by SergeyBiryukov):

 In [changeset:"35404"]:
 {{{
 #!CommitTicketReference repository="" revision="35404"
 After [35402], don't unnecessary run `wp_get_attachment_image_srcset()`
 and `wp_get_attachment_image_sizes()` in `wp_get_attachment_image()` if
 `srcset` is passed as an argument.

 See #34379.
 }}}

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


More information about the wp-trac mailing list