Code Duplication    Length = 11-11 lines in 2 locations

includes/wc-template-functions.php 2 locations

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