Code Duplication    Length = 3-3 lines in 7 locations

src/wp-includes/class-wp-admin-bar.php 7 locations

@@ 508-510 (lines=3) @@
505
				if ( ! empty( $node->meta['target'] ) ) :
506
					?> target="<?php echo esc_attr( $node->meta['target'] ); ?>"<?php
507
				endif;
508
				if ( ! empty( $node->meta['title'] ) ) :
509
					?> title="<?php echo esc_attr( $node->meta['title'] ); ?>"<?php
510
				endif;
511
				if ( ! empty( $node->meta['rel'] ) ) :
512
					?> rel="<?php echo esc_attr( $node->meta['rel'] ); ?>"<?php
513
				endif;
@@ 511-513 (lines=3) @@
508
				if ( ! empty( $node->meta['title'] ) ) :
509
					?> title="<?php echo esc_attr( $node->meta['title'] ); ?>"<?php
510
				endif;
511
				if ( ! empty( $node->meta['rel'] ) ) :
512
					?> rel="<?php echo esc_attr( $node->meta['rel'] ); ?>"<?php
513
				endif;
514
				if ( ! empty( $node->meta['lang'] ) ) :
515
					?> lang="<?php echo esc_attr( $node->meta['lang'] ); ?>"<?php
516
				endif;
@@ 514-516 (lines=3) @@
511
				if ( ! empty( $node->meta['rel'] ) ) :
512
					?> rel="<?php echo esc_attr( $node->meta['rel'] ); ?>"<?php
513
				endif;
514
				if ( ! empty( $node->meta['lang'] ) ) :
515
					?> lang="<?php echo esc_attr( $node->meta['lang'] ); ?>"<?php
516
				endif;
517
				if ( ! empty( $node->meta['dir'] ) ) :
518
					?> dir="<?php echo esc_attr( $node->meta['dir'] ); ?>"<?php
519
				endif;
@@ 517-519 (lines=3) @@
514
				if ( ! empty( $node->meta['lang'] ) ) :
515
					?> lang="<?php echo esc_attr( $node->meta['lang'] ); ?>"<?php
516
				endif;
517
				if ( ! empty( $node->meta['dir'] ) ) :
518
					?> dir="<?php echo esc_attr( $node->meta['dir'] ); ?>"<?php
519
				endif;
520
				?>><?php
521
			else:
522
				?><div class="ab-item ab-empty-item"<?php echo $aria_attributes;
@@ 523-525 (lines=3) @@
520
				?>><?php
521
			else:
522
				?><div class="ab-item ab-empty-item"<?php echo $aria_attributes;
523
				if ( ! empty( $node->meta['title'] ) ) :
524
					?> title="<?php echo esc_attr( $node->meta['title'] ); ?>"<?php
525
				endif;
526
				if ( ! empty( $node->meta['lang'] ) ) :
527
					?> lang="<?php echo esc_attr( $node->meta['lang'] ); ?>"<?php
528
				endif;
@@ 526-528 (lines=3) @@
523
				if ( ! empty( $node->meta['title'] ) ) :
524
					?> title="<?php echo esc_attr( $node->meta['title'] ); ?>"<?php
525
				endif;
526
				if ( ! empty( $node->meta['lang'] ) ) :
527
					?> lang="<?php echo esc_attr( $node->meta['lang'] ); ?>"<?php
528
				endif;
529
				if ( ! empty( $node->meta['dir'] ) ) :
530
					?> dir="<?php echo esc_attr( $node->meta['dir'] ); ?>"<?php
531
				endif;
@@ 529-531 (lines=3) @@
526
				if ( ! empty( $node->meta['lang'] ) ) :
527
					?> lang="<?php echo esc_attr( $node->meta['lang'] ); ?>"<?php
528
				endif;
529
				if ( ! empty( $node->meta['dir'] ) ) :
530
					?> dir="<?php echo esc_attr( $node->meta['dir'] ); ?>"<?php
531
				endif;
532
				?>><?php
533
			endif;
534