Code Duplication    Length = 5-5 lines in 2 locations

src/wp-admin/user-new.php 1 location

@@ 320-324 (lines=5) @@
317
		echo '<p>' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>';
318
		$label = __('Email');
319
		$type  = 'email';
320
	} else {
321
		echo '<p>' . __( 'Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>';
322
		$label = __('Email or Username');
323
		$type  = 'text';
324
	}
325
?>
326
<form method="post" name="adduser" id="adduser" class="validate" novalidate="novalidate"<?php
327
	/**

src/wp-admin/includes/media.php 1 location

@@ 1757-1761 (lines=5) @@
1754
	if ( !empty( $form_fields['_final'] ) )
1755
		$item .= "\t\t<tr class='final'><td colspan='2'>{$form_fields['_final']}</td></tr>\n";
1756
1757
	if ( $item ) {
1758
		$item = '<p class="media-types media-types-required-info">' .
1759
			sprintf( __( 'Required fields are marked %s' ), '<span class="required">*</span>' ) . '</p>
1760
			<table class="compat-attachment-fields">' . $item . '</table>';
1761
	}
1762
1763
	foreach ( $hidden_fields as $hidden_field => $value ) {
1764
		$item .= '<input type="hidden" name="' . esc_attr( $hidden_field ) . '" value="' . esc_attr( $value ) . '" />' . "\n";