is_woocommerce should be true for all product taxonomies

This commit is contained in:
Mike Jolley 2013-08-05 13:00:59 +01:00
parent 719acf5104
commit 9383deb9b2
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ function woocommerce_load_persistent_cart( $user_login, $user = 0 ) {
* @return bool
*/
function is_woocommerce() {
return ( is_shop() || is_product_category() || is_product_tag() || is_product() ) ? true : false;
return ( is_shop() || is_product_taxonomy() || is_product() ) ? true : false;
}
if ( ! function_exists( 'is_shop' ) ) {