dominant-colors-lazy-loading-wordpress-plugin icon indicating copy to clipboard operation
dominant-colors-lazy-loading-wordpress-plugin copied to clipboard

Disable for certain images

Open flowgrow opened this issue 6 years ago • 1 comments

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

flowgrow avatar Mar 11 '19 17:03 flowgrow

Okay, you should be able to run the unit tests, if you

  1. clone the repo in one of VVV's WordPress installations (e.g. /srv/www/wordpress-default)
  2. run bin/install-wp-tests.sh
  3. 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.

Lorti avatar Mar 12 '19 14:03 Lorti