Code Duplication    Length = 8-8 lines in 2 locations

templates/myaccount/downloads.php 1 location

@@ 95-102 (lines=8) @@
92
93
	<?php do_action( 'woocommerce_after_available_downloads' ); ?>
94
95
<?php else : ?>
96
	<div class="woocommerce-Message woocommerce-Message--info woocommerce-info">
97
		<a class="woocommerce-Button button" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>">
98
			<?php esc_html_e( 'Go Shop', 'woocommerce' ) ?>
99
		</a>
100
		<?php esc_html_e( 'No downloads available yet.', 'woocommerce' ); ?>
101
	</div>
102
<?php endif; ?>
103
104
<?php do_action( 'woocommerce_after_account_downloads', $has_downloads ); ?>
105

templates/myaccount/orders.php 1 location

@@ 116-123 (lines=8) @@
113
		</div>
114
	<?php endif; ?>
115
116
<?php else : ?>
117
	<div class="woocommerce-Message woocommerce-Message--info woocommerce-info">
118
		<a class="woocommerce-Button button" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>">
119
			<?php _e( 'Go Shop', 'woocommerce' ) ?>
120
		</a>
121
		<?php _e( 'No order has been made yet.', 'woocommerce' ); ?>
122
	</div>
123
<?php endif; ?>
124
125
<?php do_action( 'woocommerce_after_account_orders', $has_orders ); ?>
126