Code Duplication    Length = 11-11 lines in 2 locations

includes/wc-template-functions.php 2 locations

@@ 1385-1395 (lines=11) @@
1382
	}
1383
}
1384
1385
if ( ! function_exists( 'woocommerce_widget_shopping_cart_button_view_cart' ) ) {
1386
1387
	/**
1388
	 * Output the proceed to checkout button.
1389
	 *
1390
	 * @subpackage	Cart
1391
	 */
1392
	function woocommerce_widget_shopping_cart_button_view_cart() {
1393
		echo '<a href="' . esc_url( wc_get_cart_url() ) . '" class="button wc-forward">' . __( 'View Cart', 'woocommerce' ) . '</a>';
1394
	}
1395
}
1396
1397
if ( ! function_exists( 'woocommerce_widget_shopping_cart_proceed_to_checkout' ) ) {
1398
@@ 1397-1407 (lines=11) @@
1394
	}
1395
}
1396
1397
if ( ! function_exists( 'woocommerce_widget_shopping_cart_proceed_to_checkout' ) ) {
1398
1399
	/**
1400
	 * Output the proceed to checkout button.
1401
	 *
1402
	 * @subpackage	Cart
1403
	 */
1404
	function woocommerce_widget_shopping_cart_proceed_to_checkout() {
1405
		echo '<a href="' . esc_url( wc_get_checkout_url() ) . '" class="button checkout wc-forward">' . __( 'Checkout', 'woocommerce' ) . '</a>';
1406
	}
1407
}
1408
1409
/** Mini-Cart *************************************************************/
1410