|
@@ 1179-1184 (lines=6) @@
|
| 1176 |
|
|
| 1177 |
|
$expected = ''; |
| 1178 |
|
|
| 1179 |
|
foreach ( $image_meta['sizes'] as $name => $size ) { |
| 1180 |
|
// Whitelist the sizes that should be included so we pick up 'medium_large' in 4.4. |
| 1181 |
|
if (in_array($name, $intermediates) ) { |
| 1182 |
|
$expected .= $uploads_dir_url . $year_month . '/' . $size['file'] . ' ' . $size['width'] . 'w, '; |
| 1183 |
|
} |
| 1184 |
|
} |
| 1185 |
|
|
| 1186 |
|
// Add the full size width at the end. |
| 1187 |
|
$expected .= $uploads_dir_url . $image_meta['file'] . ' ' . $image_meta['width'] .'w'; |
|
@@ 1225-1230 (lines=6) @@
|
| 1222 |
|
|
| 1223 |
|
$expected = ''; |
| 1224 |
|
|
| 1225 |
|
foreach ( $image_meta['sizes'] as $name => $size ) { |
| 1226 |
|
// Whitelist the sizes that should be included so we pick up 'medium_large' in 4.4. |
| 1227 |
|
if (in_array($name, $intermediates) ) { |
| 1228 |
|
$expected .= $uploads_dir_url . $size['file'] . ' ' . $size['width'] . 'w, '; |
| 1229 |
|
} |
| 1230 |
|
} |
| 1231 |
|
|
| 1232 |
|
// Add the full size width at the end. |
| 1233 |
|
$expected .= $uploads_dir_url . $image_meta['file'] . ' ' . $image_meta['width'] .'w'; |
|
@@ 1304-1309 (lines=6) @@
|
| 1301 |
|
|
| 1302 |
|
$expected = ''; |
| 1303 |
|
|
| 1304 |
|
foreach( $image_meta['sizes'] as $name => $size ) { |
| 1305 |
|
// Whitelist the sizes that should be included so we pick up 'medium_large' in 4.4. |
| 1306 |
|
if (in_array($name, $intermediates) ) { |
| 1307 |
|
$expected .= $uploads_dir_url . $year_month . '/' . $size['file'] . ' ' . $size['width'] . 'w, '; |
| 1308 |
|
} |
| 1309 |
|
} |
| 1310 |
|
|
| 1311 |
|
// Add the full size width at the end. |
| 1312 |
|
$expected .= $uploads_dir_url . $image_meta['file'] . ' ' . $image_meta['width'] .'w'; |
|
@@ 1590-1595 (lines=6) @@
|
| 1587 |
|
|
| 1588 |
|
$expected = ""; |
| 1589 |
|
|
| 1590 |
|
foreach ( $image_meta['sizes'] as $name => $size ) { |
| 1591 |
|
// Whitelist the sizes that should be included so we pick up 'medium_large' in 4.4. |
| 1592 |
|
if (in_array($name, $intermediates) ) { |
| 1593 |
|
$expected .= $uploads_dir . $year_month . '/' . $size['file'] . ' ' . $size['width'] . 'w, '; |
| 1594 |
|
} |
| 1595 |
|
} |
| 1596 |
|
|
| 1597 |
|
$expected .= $uploads_dir . $image_meta['file'] . ' ' . $image_meta['width'] .'w'; |
| 1598 |
|
|