dominant-colors-lazy-loading-wordpress-plugin
dominant-colors-lazy-loading-wordpress-plugin copied to clipboard
Disable for certain images
I added a quick check, to see if the disable-dcll class is present in the image, and if so the replacement aborts.
I also referenced this in the readme ;)
Hope this helps
Okay, you should be able to run the unit tests, if you
- clone the repo in one of VVV's WordPress installations (e.g.
/srv/www/wordpress-default) - run
bin/install-wp-tests.sh - and run the tests from the current folder via
export WP_TESTS_DIR=./tests/phpunit/ && phpunit.
Let me know if it works. If it does it has to be documented.