Bug in the addition of the class hidden/visible
-
There is a bug in the code that adds a brother class to “cart-parent” a element.
The html code produced is:
<a href="https://example.com/cart/" title="View your shopping cart" class="cart-parent <br ></a> <b>Notice</b>: Undefined variable: visibility in <b>/home/example/public_html/wp-content/plugins/woocommerce-cart-tab/cart-tab.php</b> on line <b>174</b><br /> "> <span class="amount">36,10?€</span><span class="contents">1 item</span> </a>
the problematic line of the file in question is this one:
<a href="<?php echo esc_url( $woocommerce->cart->get_cart_url() ); ?>" title="<?php _e( 'View your shopping cart', 'woocommerce-cart-tab' ); ?>" class="cart-parent <?php echo esc_attr( $visibility ); ?>">
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug in the addition of the class hidden/visible’ is closed to new replies.