diff --git a/rocket-lazy-load.php b/rocket-lazy-load.php index 5bb030c..0abe73f 100644 --- a/rocket-lazy-load.php +++ b/rocket-lazy-load.php @@ -3,7 +3,7 @@ * Plugin Name: Lazy Load by WP Rocket * Plugin URI: http://wordpress.org/plugins/rocket-lazy-load/ * Description: The tiny Lazy Load script for WordPress without jQuery or others libraries. - * Version: 1.4.4 + * Version: 1.4.5 * Author: WP Media * Author URI: https://wp-rocket.me * Text Domain: rocket-lazy-load @@ -505,7 +505,7 @@ function rocket_lazyload_iframes( $html ) { * * @param array $html Output that will be printed. */ - $iframe_lazyload = apply_filters( 'rocket_lazyload_iframe_html', str_replace( $iframe[1], $placeholder . '" data-fitvidscompatible="1" data-lazy-src="' . $iframe[1], $iframe[0] ) ); + $iframe_lazyload = apply_filters( 'rocket_lazyload_iframe_html', str_replace( $iframe[1], $placeholder . '" data-rocket-lazyload="fitvidscompatible" data-lazy-src="' . $iframe[1], $iframe[0] ) ); $iframe_lazyload .= $iframe_noscript; $html = str_replace( $iframe[0], $iframe_lazyload, $html );