Code Duplication    Length = 7-7 lines in 2 locations

_inc/lib/admin-pages/class.jetpack-admin-page.php 1 location

@@ 90-96 (lines=7) @@
87
	}
88
89
	// Enqueue the Jetpack admin stylesheet
90
	function admin_styles() {
91
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
92
93
		wp_enqueue_style( 'jetpack-admin', plugins_url( "css/jetpack-admin{$min}.css", JETPACK__PLUGIN_FILE ), array( 'genericons' ), JETPACK__VERSION . '-20121016' );
94
		wp_style_add_data( 'jetpack-admin', 'rtl', 'replace' );
95
		wp_style_add_data( 'jetpack-admin', 'suffix', $min );
96
	}
97
98
	function is_wp_version_too_old() {
99
		global $wp_version;

class.jetpack.php 1 location

@@ 3114-3120 (lines=7) @@
3111
			do_action( 'jetpack_module_configuration_head_' . $_GET['configure'] );
3112
	}
3113
3114
	function admin_banner_styles() {
3115
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
3116
3117
		wp_enqueue_style( 'jetpack', plugins_url( "css/jetpack-banners{$min}.css", JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION . '-20121016' );
3118
		wp_style_add_data( 'jetpack', 'rtl', 'replace' );
3119
		wp_style_add_data( 'jetpack', 'suffix', $min );
3120
	}
3121
3122
	function plugin_action_links( $actions ) {
3123