[wp-trac] [WordPress Trac] #34430: Improve the performance of wp_make_content_images_responsive()
WordPress Trac
noreply at wordpress.org
Wed Nov 4 00:21:26 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):
In [changeset:"35498"]:
{{{
#!CommitTicketReference repository="" revision="35498"
Responsive images:
- Fix `_wp_upload_dir_baseurl()` to cache by blog_id.
- Replace `path_join()` with `trailingslashit()`, it's much faster.
- Rename $image_url to $image_src for consistency (used at about 50 other
places).
- Couple of tests fixes.
See #34430.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34430#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list