Code Duplication    Length = 10-11 lines in 2 locations

modules/subscriptions.php 2 locations

@@ 324-333 (lines=10) @@
321
	 * Post Subscriptions Toggle
322
	 *
323
	 */
324
	function subscription_post_subscribe_setting() {
325
326
		$stb_enabled = get_option( 'stb_enabled', 1 ); ?>
327
328
		<p class="description">
329
			<input type="checkbox" name="stb_enabled" id="jetpack-post-subscribe" value="1" <?php checked( $stb_enabled, 1 ); ?> />
330
			<?php _e( "Show a <em>'follow blog'</em> option in the comment form", 'jetpack' ); ?>
331
		</p>
332
	<?php
333
	}
334
335
	/**
336
	 * Comments Subscriptions Toggle
@@ 339-349 (lines=11) @@
336
	 * Comments Subscriptions Toggle
337
	 *
338
	 */
339
	function subscription_comment_subscribe_setting() {
340
341
		$stc_enabled = get_option( 'stc_enabled', 1 ); ?>
342
343
		<p class="description">
344
			<input type="checkbox" name="stc_enabled" id="jetpack-comment-subscribe" value="1" <?php checked( $stc_enabled, 1 ); ?> />
345
			<?php _e( "Show a <em>'follow comments'</em> option in the comment form", 'jetpack' ); ?>
346
		</p>
347
348
	<?php
349
	}
350
351
	function validate_settings( $settings ) {
352
		global $allowedposttags;