Make WordPress Core

Opened 6 weeks ago

Last modified 5 weeks ago

#49161 new defect (bug)

Disabling big_image_size_threshold via filters does NOT work

Reported by: bbtodd Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version:
Component: Media Keywords:
Focuses: Cc:
PR Number:


Trying to disable the new image sizes in WordPress but this has no effect! I'm still seeing the new large sizes being saved on my server even after using this code.

add_filter( 'big_image_size_threshold', '__return_false' );

This is a very serious issue for me. My site accepts user uploads but I've been overwriting the full size images with the thumbnail not just to save space on server but also so that I don't have large images stored on my server in case of possible copyright abuse.

This should have been a feature you need to turn on, not something that automatically happened after a site is auto upgraded. I absolutely need this disabled but the ability to disable this is NOT working.

Change History (2)

#1 @SergeyBiryukov
6 weeks ago

  • Component changed from General to Media

#2 @bbtodd
5 weeks ago

I don't see a place where suggestions can be put forth but I very much dislike this 'big_image_size_threshold' function and how it was put out. But if adding these very large image sizes is something that is decided really is necessary, the ability to turn these sizes on and off and or edit the exact dimensions should be an option available in settings > media - just like the other default image sizes.

Note: See TracTickets for help on using tickets.