You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure exactly what the intent was, but line 271 in adaptive-images.php will never evaluate to true, and thus line 272 will never be reached.
// the required image width is bigger than any existing value in $resolutions
if($total_width > $resolutions[0]){
// firstly, fit the CSS size into a break point ignoring the multiplier
foreach ($resolutions as $break_point) { // filter down
// >>> If you are here, $total_width is > $resolutions[0] (the highest value in $resolutions), so the below will never be true.
if ($total_width <= $break_point) {
$resolution = $break_point;
}
}
// now apply the multiplier
$resolution = $resolution * $pixel_density;
}
Hope this helps
The text was updated successfully, but these errors were encountered:
I'm not sure exactly what the intent was, but line 271 in adaptive-images.php will never evaluate to true, and thus line 272 will never be reached.
Hope this helps
The text was updated successfully, but these errors were encountered: