Code Duplication    Length = 10-11 lines in 2 locations

modules/subscriptions.php 2 locations

@@ 374-383 (lines=10) @@
371
	 * Post Subscriptions Toggle
372
	 *
373
	 */
374
	function subscription_post_subscribe_setting() {
375
376
		$stb_enabled = get_option( 'stb_enabled', 1 ); ?>
377
378
		<p class="description">
379
			<input type="checkbox" name="stb_enabled" id="jetpack-post-subscribe" value="1" <?php checked( $stb_enabled, 1 ); ?> />
380
			<?php _e( "Show a <em>'follow blog'</em> option in the comment form", 'jetpack' ); ?>
381
		</p>
382
	<?php
383
	}
384
385
	/**
386
	 * Comments Subscriptions Toggle
@@ 389-399 (lines=11) @@
386
	 * Comments Subscriptions Toggle
387
	 *
388
	 */
389
	function subscription_comment_subscribe_setting() {
390
391
		$stc_enabled = get_option( 'stc_enabled', 1 ); ?>
392
393
		<p class="description">
394
			<input type="checkbox" name="stc_enabled" id="jetpack-comment-subscribe" value="1" <?php checked( $stc_enabled, 1 ); ?> />
395
			<?php _e( "Show a <em>'follow comments'</em> option in the comment form", 'jetpack' ); ?>
396
		</p>
397
398
	<?php
399
	}
400
401
	/**
402
	 * Someone follows my blog section