| @@ -75,9 +75,9 @@ | ||
| 75 | 75 | |
| 76 | 76 | if ( function_exists( 'wp_get_original_image_path' ) ) { |
| 77 | 77 | $this->reset_values['resize_larger'] = 1; |
| 78 | 78 | |
| 79 | - $filter_cb = [ imagify_get_context( 'wp' ), 'get_resizing_threshold' ]; | |
| 79 | + $filter_cb = [ imagify_get_context( 'wp' ), 'filter_big_image_size_threshold' ]; | |
| 80 | 80 | $filtered = has_filter( 'big_image_size_threshold', $filter_cb ); |
| 81 | 81 | |
| 82 | 82 | if ( $filtered ) { |
| 83 | 83 | remove_filter( 'big_image_size_threshold', $filter_cb, IMAGIFY_INT_MAX ); |