Code Duplication    Length = 6-6 lines in 2 locations

class.jetpack.php 2 locations

@@ 1690-1695 (lines=6) @@
1687
		}
1688
1689
		// Throw up a notice if using a development version and as for feedback.
1690
		if ( Jetpack::is_development_version() ) {
1691
			/* translators: %s is a URL */
1692
			$notice = sprintf( __( 'You are currently running a development version of Jetpack. <a href="%s" target="_blank">Submit your feedback</a>', 'jetpack' ), 'https://jetpack.com/contact-support/beta-group/' );
1693
1694
			echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>';
1695
		}
1696
		// Throw up a notice if using staging mode
1697
		if ( Jetpack::is_staging_site() ) {
1698
			/* translators: %s is a URL */
@@ 1697-1702 (lines=6) @@
1694
			echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>';
1695
		}
1696
		// Throw up a notice if using staging mode
1697
		if ( Jetpack::is_staging_site() ) {
1698
			/* translators: %s is a URL */
1699
			$notice = sprintf( __( 'You are running Jetpack on a <a href="%s" target="_blank">staging server</a>.', 'jetpack' ), 'https://jetpack.com/support/staging-sites/' );
1700
1701
			echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>';
1702
		}
1703
	}
1704
1705
	/**