Code Duplication    Length = 3-3 lines in 2 locations

wp-includes/formatting.php 1 location

@@ 572-574 (lines=3) @@
569
		$pee = str_replace(array_keys($pre_tags), array_values($pre_tags), $pee);
570
571
	// Restore newlines in all elements.
572
	if ( false !== strpos( $pee, '<!-- wpnl -->' ) ) {
573
		$pee = str_replace( array( ' <!-- wpnl --> ', '<!-- wpnl -->' ), "\n", $pee );
574
	}
575
576
	return $pee;
577
}

wp-includes/media.php 1 location

@@ 2593-2595 (lines=3) @@
2590
	}
2591
2592
	if ( ! empty( $content ) ) {
2593
		if ( false !== strpos( $content, "\n" ) ) {
2594
			$content = str_replace( array( "\r\n", "\n", "\t" ), '', $content );
2595
		}
2596
		$html .= trim( $content );
2597
	}
2598