Skip to content

Commit ae58f11

Browse files
committed
fix: php error because of invalid big_image_size_threshold filter usage
1 parent ddd2f82 commit ae58f11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/admin/class-script-loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function enqueue_cimo_assets() {
7979

8080
// Expose threshold for WP Core's big image scaling.
8181
// Can be false when auto scaling is disabled.
82-
$threshold = apply_filters( 'big_image_size_threshold', 2560 );
82+
$threshold = apply_filters( 'big_image_size_threshold', 2560, array( 0, 0 ), '', 0 );
8383

8484
// Localize script with REST API URL, nonce, and settings
8585
wp_localize_script(

0 commit comments

Comments
 (0)