[wp-trac] [WordPress Trac] #34430: Improve the performance of wp_make_content_images_responsive()
WordPress Trac
noreply at wordpress.org
Fri Oct 30 23:17:13 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):
After [https://wordpress.slack.com/archives/feature-
respimg/p1446231702000784 today's chat], in 34430.9.diff:
- Merge `wp_image_srcset_attr()` into `wp_calculate_image_srcset()`.
- Remove the `wp_image_srcset` filter. Keep the
`wp_calculate_image_srcset` filter for the array containing the data for
creating the srcset value.
- Fix the tests to reflect these changes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34430#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list