Code Duplication    Length = 11-13 lines in 2 locations

modules/module-info.php 2 locations

@@ 290-300 (lines=11) @@
287
}
288
add_filter( 'jetpack_learn_more_button_after-the-deadline', 'jpatd_load_more_link' );
289
290
function jpatd_more_info() { ?>
291
	<div class="jp-info-img">
292
		<a href="http://en.support.wordpress.com/proofreading/">
293
			<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/spelling.jpg' ) ?>" alt="<?php esc_attr_e( 'Spelling and Grammar', 'jetpack' ) ?>" width="300" height="150" />
294
		</a>
295
	</div>
296
297
	<p><?php printf( __( "The <a href='%s'>After&nbsp;the&nbsp;Deadline</a> Proofreading service improves your writing by using artificial intelligence to find your errors and offer smart suggestions.", 'jetpack' ), 'http://www.afterthedeadline.com/' ); ?></p>
298
	<p><?php printf( __( 'After the Deadline provides a number of <a href="%s">customization options</a>, which you can edit in your profile.', 'jetpack' ), esc_url( get_edit_profile_url( get_current_user_id() ) ) . '#atd' ); ?></p>
299
<?php
300
}
301
add_action( 'jetpack_module_more_info_after-the-deadline', 'jpatd_more_info' );
302
303
/**
@@ 571-583 (lines=13) @@
568
}
569
add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' );
570
571
function jetpack_post_by_email_more_info() { ?>
572
	<div class="jp-info-img">
573
		<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/post-by-email.jpg' ) ?>" alt="<?php esc_attr_e( 'Post by Email', 'jetpack' ) ?>" width="300" height="115" />
574
	</div>
575
576
	<p><?php esc_html_e( 'Post by Email is a way of publishing posts on your blog by email. Any email client can be used to send the email, allowing you to publish quickly and easily from devices such as cell phones.', 'jetpack' ); ?></p>
577
578
	<p><?php printf( __( 'Manage your Post By Email address from your <a href="%s">profile settings</a>.', 'jetpack' ), esc_url( get_edit_profile_url( get_current_user_id() ) . '#post-by-email' ) ); ?>
579
580
	<p>&rarr; <a href="http://jetpack.me/support/post-by-email/"><?php esc_html_e( 'More information on sending emails, attachments, and customizing your posts.', 'jetpack' ); ?></a></p>
581
582
<?php
583
}
584
add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' );
585
586
/**