diff --git wp-includes/media.php wp-includes/media.php
index 9f35f79..e54a5da 100644
|
|
|
function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attac |
| 1109 | 1109 | if ( abs( $constrained_size[0] - $expected_size[0] ) <= 1 && abs( $constrained_size[1] - $expected_size[1] ) <= 1 ) { |
| 1110 | 1110 | // Add the URL, descriptor, and value to the sources array to be returned. |
| 1111 | 1111 | $source = array( |
| 1112 | | 'url' => $image_baseurl . $image['file'], |
| | 1112 | 'url' => $image_baseurl . str_replace(' ', '%20', $image['file']), |
| 1113 | 1113 | 'descriptor' => 'w', |
| 1114 | 1114 | 'value' => $image['width'], |
| 1115 | 1115 | ); |