diff --git a/inc/woocommerce.php b/inc/woocommerce.php index 64804c4c..b8e2f556 100644 --- a/inc/woocommerce.php +++ b/inc/woocommerce.php @@ -169,8 +169,6 @@ if ( ! function_exists( '_s_woocommerce_cart_link_fragment' ) ) { * @return array Fragments to refresh via AJAX */ function _s_woocommerce_cart_link_fragment( $fragments ) { - global $woocommerce; - ob_start(); _s_woocommerce_cart_link(); $fragments['a.cart-contents'] = ob_get_clean();