Fixed an error that occured while updating WC. Added 2 new options. New: take into account the product attribute visibility setting.

git-svn-id: https://plugins.svn.wordpress.org/woocommerce-show-attributes/trunk@995530 b8457f37-d9ea-0310-8a92-e5e31aec5664