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

WordPress Trac noreply at wordpress.org
Mon Oct 26 18:41:33 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:"35405"]:
 {{{
 #!CommitTicketReference repository="" revision="35405"
 After [35402], don't unnecessary run `wp_get_attachment_metadata()`,
 `wp_get_attachment_image_srcset()`, and `wp_get_attachment_image_sizes()`
 in `wp_img_add_srcset_and_sizes()`.

 See #34379.
 }}}

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


More information about the wp-trac mailing list