Changes between Initial Version and Version 1 of Ticket #34945, comment 39
- Timestamp:
- 01/05/2016 12:59:39 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34945, comment 39
initial v1 1 1 I am 50/50 on this for 4.4.x. On one hand it would have been nice to match the code in `wp_get_attachment_url()`. In practice part of `wp_calculate_image_srcset()` is quite similar to `wp_get_attachment_url()` but faster and gets the URLs for all image sizes. 2 2 3 On the other hand sites that need to switch between http and https or support both schemes already have means to correct these URLs (`wp_calculate_image_srcset` or another `the_content` filter ).3 On the other hand sites that need to switch between http and https or support both schemes already have means to correct these URLs (`wp_calculate_image_srcset` or another `the_content` filter with priority > 10).