Code Duplication    Length = 10-11 lines in 2 locations

modules/subscriptions.php 2 locations

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