We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4d8e4 commit 29328e5Copy full SHA for 29328e5
cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media/class-filter.php
@@ -347,11 +347,7 @@ public function filter_out_local( $content ) {
347
}
348
349
// Apply lazy loading attribute
350
- if (
351
- apply_filters( 'wp_lazy_loading_enabled', true ) &&
352
- false === strpos( $new_tag, 'loading="lazy"' ) &&
353
- $clean
354
- ) {
+ if ( apply_filters( 'wp_lazy_loading_enabled', true ) && false === strpos( $new_tag, 'loading="lazy"' ) ) {
355
$new_tag = str_replace( '/>', ' loading="lazy" />', $new_tag );
356
357
0 commit comments