[wp-trac] [WordPress Trac] #34430: Improve the performance of wp_make_content_images_responsive()
WordPress Trac
noreply at wordpress.org
Mon Nov 2 23:58:03 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):
Replying to [comment:30 jaspermdegroot]:
Think there is an inconsistency in `wp_get_attachment_image_srcset()` in
34430.10.diff. First we want to check if the `$image_meta` was passed (as
it's optional), and get the meta if not. Then we want to see if
`$image_meta['sizes']` is not empty. Will fix that and commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34430#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list