You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just discovered that filter apply_filters( 'bj_lazy_load_html', $content ) (used in add_filter( 'the_content', 'function' );) behaves incorrectly.
When I would to exclude image (because it's slider's lazyloading), the default no-lazy class takes no effect, so I have doubled noscript tag and broken image src.
When I set any image the no-lazy class in post's editor (by Insert Media), the whole images on the page are no lazyloaded.
I think that problem begins in _get_content_haystack in bj-lazy-load\inc\class-bjll.php, but I have no idea how to fix it.
Greetings
The text was updated successfully, but these errors were encountered:
Hi,
I just discovered that filter
apply_filters( 'bj_lazy_load_html', $content )
(used inadd_filter( 'the_content', 'function' );
) behaves incorrectly.no-lazy
class takes no effect, so I have doublednoscript
tag and broken image src.no-lazy
class in post's editor (by Insert Media), the whole images on the page are no lazyloaded.I think that problem begins in
_get_content_haystack
inbj-lazy-load\inc\class-bjll.php
, but I have no idea how to fix it.Greetings
The text was updated successfully, but these errors were encountered: