Code Duplication    Length = 11-11 lines in 2 locations

includes/wc-template-functions.php 2 locations

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