[Plugin: Lazy Load] Bug in lazyload_images_add_placeholders??
-
I used the following function to include my own images:
if ( function_exists( 'lazyload_images_add_placeholders' ) ) $content = lazyload_images_add_placeholders( $content );
After that line of code, $content was empty. My opinion is that the following function is wrong:
function lazyload_images_add_placeholders( $content ) { LazyLoad_Images::add_image_placeholders( $content ); }
I changed it the following way and now it works perfectly:
function lazyload_images_add_placeholders( $content ) { return LazyLoad_Images::add_image_placeholders( $content ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Lazy Load] Bug in lazyload_images_add_placeholders??’ is closed to new replies.