From 17feaf8e34296d5a002b289583bd4b088e5fc7b6 Mon Sep 17 00:00:00 2001 From: COQUARD Cyrille Date: Fri, 28 Jun 2024 13:31:53 +0200 Subject: [PATCH] Removed polyfill --- src/Dependencies/RocketLazyload/Assets.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Dependencies/RocketLazyload/Assets.php b/src/Dependencies/RocketLazyload/Assets.php index adde534..ad463d4 100644 --- a/src/Dependencies/RocketLazyload/Assets.php +++ b/src/Dependencies/RocketLazyload/Assets.php @@ -155,17 +155,12 @@ public function getLazyloadScript( $args = [] ) { $defaults = [ 'base_url' => '', 'version' => '', - 'polyfill' => false, ]; $args = wp_parse_args( $args, $defaults ); $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; $script = ''; - if ( isset( $args['polyfill'] ) && $args['polyfill'] ) { - $script .= ''; - } - /** * Filters the script tag for the lazyload script *