Code Duplication    Length = 4-5 lines in 2 locations

src/wp-admin/includes/class-wp-terms-list-table.php 1 location

@@ 296-300 (lines=5) @@
293
				unset( $parent_ids );
294
295
				$num_parents = count( $my_parents );
296
				while ( $my_parent = array_pop( $my_parents ) ) {
297
					echo "\t";
298
					$this->single_row( $my_parent, $level - $num_parents );
299
					$num_parents--;
300
				}
301
			}
302
303
			if ( $count >= $start ) {

src/wp-admin/includes/class-wp-posts-list-table.php 1 location

@@ 807-810 (lines=4) @@
804
					$my_parent = $my_parent->post_parent;
805
				}
806
				$num_parents = count( $my_parents );
807
				while ( $my_parent = array_pop( $my_parents ) ) {
808
					$to_display[$my_parent->ID] = $level - $num_parents;
809
					$num_parents--;
810
				}
811
			}
812
813
			if ( $count >= $start ) {