Can you confirm whether your clients have the ability to activate plugins?
Alright, next step is to login with those permissions, load a page where Resize Detection shows up, and check the HTML (View Source). Look for this function directly in a script element (inlined) in the page:
function checkImageSizes
If you don’t see it, then some other plugin has merged it into a combined JS file, and that is why it shows up when it shouldn’t.
Are you using this filter anywhere: ewww_image_optimizer_admin_permissions ?
I would check your theme and plugin folders, do a full search in all .php files to see if third-party code is altering that also.
Nope, we don’t use it elsewhere.
So what is next?
The only thing I can think to try at this point is the standard WP troubleshooting:
1. disable all plugins except EWWW IO, and switch to the 2020 theme.
2. make sure resize detection is no longer visible for the user account/role in question
3. enable your theme, test again
4. enable plugins one by one to see when the resize detection script comes back