Code Duplication    Length = 3-3 lines in 2 locations

includes/wc-template-functions.php 2 locations

@@ 1923-1925 (lines=3) @@
1920
1921
					$field = '<select name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" ' . $args['autocomplete'] . ' class="country_to_state country_select ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" ' . implode( ' ', $custom_attributes ) . '>' . '<option value="">' . __( 'Select a country&hellip;', 'woocommerce' ) . '</option>';
1922
1923
					foreach ( $countries as $ckey => $cvalue ) {
1924
						$field .= '<option value="' . esc_attr( $ckey ) . '" ' . selected( $value, $ckey, false ) . '>' . $cvalue . '</option>';
1925
					}
1926
1927
					$field .= '</select>';
1928
@@ 1952-1954 (lines=3) @@
1949
					$field .= '<select name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" class="state_select ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" ' . implode( ' ', $custom_attributes ) . ' data-placeholder="' . esc_attr( $args['placeholder'] ) . '" ' . $args['autocomplete'] . '>
1950
						<option value="">' . __( 'Select a state&hellip;', 'woocommerce' ) . '</option>';
1951
1952
					foreach ( $states as $ckey => $cvalue ) {
1953
						$field .= '<option value="' . esc_attr( $ckey ) . '" ' . selected( $value, $ckey, false ) . '>' . $cvalue . '</option>';
1954
					}
1955
1956
					$field .= '</select>';
1957