We have been using add_filter( 'cs_enable_srcset', '__return_true' );
in our functions.php
to enable srcset / sizes attributes on all images. This is important, as it helps us to bring loading times within to appropriate bounds, as measured by Lighthouse and PageSpeed Insights.
Unfortunately, since Pro 6.5.0, this has been broken. As far as can tell, since 6.5.0, the only way we can now enable srcset and sizes is to manually set “Attachment Srcset” on every single image.
Needless to say, this is not a viable approach. There are hundreds, perhaps thousands, of images throughout our site. Updating that setting on each and every one of them is untenable.
Is there a solution to this issue?