[wp-trac] [WordPress Trac] #34430: Improve the performance of wp_make_content_images_responsive()
WordPress Trac
noreply at wordpress.org
Sat Oct 24 15:56:25 UTC 2015
#34430: Improve the performance of wp_make_content_images_responsive()
-----------------------------------+--------------------
Reporter: joemcgill | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+--------------------
Comment (by joemcgill):
My first approach passes both the metadata and the original image source
to the other internal functions, which avoids the need to call internal
media functions at all, but makes the function signatures a bit weird. In
my tests, the performance of the content filter with 50 images in a post
were almost twice as fast with this patch. Would love some feedback on the
approach.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34430#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list