Code Duplication    Length = 5-5 lines in 2 locations

includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php 1 location

@@ 57-61 (lines=5) @@
54
						)
55
					) );
56
57
					foreach ( $coupon_data_tabs as $key => $tab ) {
58
						?><li class="<?php echo $key; ?>_options <?php echo $key; ?>_tab <?php echo implode( ' ' , (array) $tab['class'] ); ?>">
59
							<a href="#<?php echo $tab['target']; ?>"><?php echo esc_html( $tab['label'] ); ?></a>
60
						</li><?php
61
					}
62
				?>
63
			</ul>
64
			<div id="general_coupon_data" class="panel woocommerce_options_panel"><?php

includes/admin/meta-boxes/class-wc-meta-box-product-data.php 1 location

@@ 127-131 (lines=5) @@
124
						)
125
					) );
126
127
					foreach ( $product_data_tabs as $key => $tab ) {
128
						?><li class="<?php echo $key; ?>_options <?php echo $key; ?>_tab <?php echo implode( ' ' , $tab['class'] ); ?>">
129
							<a href="#<?php echo $tab['target']; ?>"><?php echo esc_html( $tab['label'] ); ?></a>
130
						</li><?php
131
					}
132
133
					do_action( 'woocommerce_product_write_panel_tabs' );
134
				?>