[wp-trac] [WordPress Trac] #49161: Disabling big_image_size_threshold via filters does NOT work

WordPress Trac noreply at wordpress.org
Mon Mar 9 22:00:57 UTC 2020


#49161: Disabling big_image_size_threshold via filters does NOT work
--------------------------+------------------------------
 Reporter:  bbtodd        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by sjnbham):

 We use Smush for our image optimization. It provides a method to reduce
 the image size already. The documented method to disable this feature
 isn't working for us either.

 add_filter( 'big_image_size_threshold', '__return_false' );

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49161#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list