Skip to content

Commit 4fa8871

Browse files
removed number of arguments in hooks
1 parent f8e0e8c commit 4fa8871

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compatibility/ewww.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function stackable_load_image_optimizer_polyfill_frontend_script( $block_content
2626
function stackable_ewww_image_optimzer_plugin_checker() {
2727
if ( ! is_admin() && defined( 'EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE' ) ) {
2828
// Load the script in the frontend if EWWW Image Optimizer is active.
29-
add_action( 'stackable/enqueue_scripts', 'stackable_load_image_optimizer_polyfill_frontend_script', 10, 2 );
29+
add_action( 'stackable/enqueue_scripts', 'stackable_load_image_optimizer_polyfill_frontend_script' );
3030
}
3131
}
3232

src/lightbox/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ function stackable_load_lightbox_frontend_script( $block_content ) {
3232
}
3333

3434
if ( ! is_admin() ) {
35-
add_action( 'stackable/enqueue_scripts', 'stackable_load_lightbox_frontend_script', 10, 2 );
35+
add_action( 'stackable/enqueue_scripts', 'stackable_load_lightbox_frontend_script' );
3636
}
3737
}

0 commit comments

Comments
 (0)