Code Duplication    Length = 3-4 lines in 2 locations

wp-admin/includes/schema.php 1 location

@@ 1089-1092 (lines=4) @@
1086
				__( 'The installer attempted to contact a random hostname (%s) on your domain.' ),
1087
				'<code>' . $hostname . '</code>'
1088
			);
1089
			if ( ! empty ( $errstr ) ) {
1090
				/* translators: %s: error message */
1091
				$msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' );
1092
			}
1093
			$msg .= '</p>';
1094
1095
			$msg .= '<p>' . sprintf(

wp-includes/widgets.php 1 location

@@ 1344-1346 (lines=3) @@
1341
	$args['show_author']    = isset( $args['show_author'] ) ? (int) $args['show_author'] : (int) $inputs['show_author'];
1342
	$args['show_date']      = isset( $args['show_date'] ) ? (int) $args['show_date'] : (int) $inputs['show_date'];
1343
1344
	if ( ! empty( $args['error'] ) ) {
1345
		echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), $args['error'] ) . '</strong></p>';
1346
	}
1347
1348
	$esc_number = esc_attr( $args['number'] );
1349
	if ( $inputs['url'] ) :