Browse Source

Varia: Code tidying

Allan Cole 5 years ago
parent
commit
5c50373c31
1 changed files with 3 additions and 2 deletions
  1. 3 2
      varia/inc/woocommerce.php

+ 3 - 2
varia/inc/woocommerce.php

@@ -91,7 +91,8 @@ if ( ! function_exists( 'varia_cart_link' ) ) {
 		$link_output = sprintf(
 			'<a class="woocommerce-cart-link" href="%1$s" title="%2$s">
 				%3$s
-				<span class="woocommerce-cart-subtotal">%4$s</span><small class="woocommerce-cart-count">%5$s</small>
+				<span class="woocommerce-cart-subtotal">%4$s</span>
+				<small class="woocommerce-cart-count">%5$s</small>
 			</a>',
 			esc_url( wc_get_cart_url() ),
 			esc_attr__( 'View your shopping cart', 'varia' ),
@@ -140,7 +141,7 @@ if ( ! function_exists( 'varia_cart_count_fragment' ) ) {
 }
 
 /**
- * Setup cart widget for main menu
+ * Setup cart widget for mini-cart dropdown
  */
 if ( ! function_exists( 'varia_cart_widget' ) ) {
 	/**