[wp-trac] [WordPress Trac] #34430: Improve the performance of wp_make_content_images_responsive()
WordPress Trac
noreply at wordpress.org
Tue Nov 3 00:08:14 UTC 2015
#34430: Improve the performance of wp_make_content_images_responsive()
------------------------------------------------+------------------------
Reporter: joemcgill | Owner: joemcgill
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-docs | Focuses:
------------------------------------------------+------------------------
Comment (by azaozz):
Actually not sure we need to check if `$image_meta['sizes']` is not empty
in both `wp_get_attachment_image_srcset()` and
`wp_calculate_image_srcset()`. It wouldn't make any change in the former
and is the first conditional in the latter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34430#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list