Code Duplication    Length = 11-11 lines in 2 locations

includes/wc-template-functions.php 2 locations

@@ 1371-1381 (lines=11) @@
1368
	}
1369
}
1370
1371
if ( ! function_exists( 'woocommerce_widget_shopping_cart_button_view_cart' ) ) {
1372
1373
	/**
1374
	 * Output the proceed to checkout button.
1375
	 *
1376
	 * @subpackage	Cart
1377
	 */
1378
	function woocommerce_widget_shopping_cart_button_view_cart() {
1379
		echo '<a href="' . esc_url( wc_get_cart_url() ) . '" class="button wc-forward">' . __( 'View Cart', 'woocommerce' ) . '</a>';
1380
	}
1381
}
1382
1383
if ( ! function_exists( 'woocommerce_widget_shopping_cart_proceed_to_checkout' ) ) {
1384
@@ 1383-1393 (lines=11) @@
1380
	}
1381
}
1382
1383
if ( ! function_exists( 'woocommerce_widget_shopping_cart_proceed_to_checkout' ) ) {
1384
1385
	/**
1386
	 * Output the proceed to checkout button.
1387
	 *
1388
	 * @subpackage	Cart
1389
	 */
1390
	function woocommerce_widget_shopping_cart_proceed_to_checkout() {
1391
		echo '<a href="' . esc_url( wc_get_checkout_url() ) . '" class="button checkout wc-forward">' . __( 'Checkout', 'woocommerce' ) . '</a>';
1392
	}
1393
}
1394
1395
/** Mini-Cart *************************************************************/
1396