Code Duplication    Length = 11-13 lines in 2 locations

modules/module-info.php 2 locations

@@ 298-308 (lines=11) @@
295
}
296
add_filter( 'jetpack_learn_more_button_after-the-deadline', 'jpatd_load_more_link' );
297
298
function jpatd_more_info() { ?>
299
	<div class="jp-info-img">
300
		<a href="http://en.support.wordpress.com/proofreading/" target="_blank">
301
			<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" />
302
		</a>
303
	</div>
304
305
	<p><?php printf( __( "The <a href='%s' target='_blank'>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>
306
	<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>
307
<?php
308
}
309
add_action( 'jetpack_module_more_info_after-the-deadline', 'jpatd_more_info' );
310
311
/**
@@ 593-605 (lines=13) @@
590
}
591
add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' );
592
593
function jetpack_post_by_email_more_info() { ?>
594
	<div class="jp-info-img">
595
		<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" />
596
	</div>
597
598
	<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>
599
600
	<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' ) ); ?>
601
602
	<p>&rarr; <a href="http://jetpack.com/support/post-by-email/" target="_blank"><?php esc_html_e( 'More information on sending emails, attachments, and customizing your posts.', 'jetpack' ); ?></a></p>
603
604
<?php
605
}
606
add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' );
607
608
/**