Code Duplication    Length = 12-13 lines in 2 locations

vendor/ayecode/wp-super-duper/wp-super-duper.php 2 locations

@@ 2493-2505 (lines=13) @@
2490
					case "email":
2491
					case "tel":
2492
					case "url":
2493
					case "color":
2494
						?>
2495
						<label
2496
							for="<?php echo esc_attr( $this->get_field_id( $args['name'] ) ); ?>"><?php echo esc_attr( $args['title'] ); ?><?php echo $this->widget_field_desc( $args ); ?></label>
2497
						<input <?php echo $placeholder; ?> class="widefat"
2498
							<?php echo $custom_attributes; ?>
2499
							                               id="<?php echo esc_attr( $this->get_field_id( $args['name'] ) ); ?>"
2500
							                               name="<?php echo esc_attr( $this->get_field_name( $args['name'] ) ); ?>"
2501
							                               type="<?php echo esc_attr( $args['type'] ); ?>"
2502
							                               value="<?php echo esc_attr( $value ); ?>">
2503
						<?php
2504
2505
						break;
2506
					case "select":
2507
						$multiple = isset( $args['multiple'] ) && $args['multiple'] ? true : false;
2508
						if ( $multiple ) {
@@ 2544-2555 (lines=12) @@
2541
						</select>
2542
						<?php
2543
						break;
2544
					case "checkbox":
2545
						?>
2546
						<input <?php echo $placeholder; ?>
2547
							<?php checked( 1, $value, true ) ?>
2548
							<?php echo $custom_attributes; ?>
2549
							class="widefat" id="<?php echo esc_attr( $this->get_field_id( $args['name'] ) ); ?>"
2550
							name="<?php echo esc_attr( $this->get_field_name( $args['name'] ) ); ?>" type="checkbox"
2551
							value="1">
2552
						<label
2553
							for="<?php echo esc_attr( $this->get_field_id( $args['name'] ) ); ?>"><?php echo esc_attr( $args['title'] ); ?><?php echo $this->widget_field_desc( $args ); ?></label>
2554
						<?php
2555
						break;
2556
					case "hidden":
2557
						?>
2558
						<input id="<?php echo esc_attr( $this->get_field_id( $args['name'] ) ); ?>"