removed compatibility with older versions of woocommerce